-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting " error LNK2005" on Windows #50
Comments
This is an excerpt of my 3rdparty/CMakeLists.txt: ### spdlog
option(SPDLOG_INSTALL "" ON)
add_subdirectory(spdlog)
set_target_properties(spdlog PROPERTIES FOLDER 3rdparty)
### spdlog_setup
option(SPDLOG_SETUP_CPPTOML_EXTERNAL "Use external CPPTOML library instead of bundled" ON)
add_subdirectory(spdlog_setup) All I do then is |
Even though I don't refer to any #include <spdlog/spdlog.h>
#include <spdlog_setup/conf.h> So, not sure if this is still a bug.... |
Seems like May I know the tag/commit versions of |
I was just able to repro this again with the latest of both projects:
|
In my project, I checkout spdlog & spdlog_setup as submodules and use
add_subdirectory
to add them to my project. This works fine on all platforms, but on Windows I get:I've tried different things (e.g. checkout fmt also as a submodule and use
SPDLOG_FMT_EXTERNAL
) but I get the same error.Any thoughts?
The text was updated successfully, but these errors were encountered: