You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm get an warning when I try to compile it using CMake: warning: multiple rules generate thirdparty/json-c/json-c.lib. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
I think that's because the project does not have switch between static library and dynamic library, and also because of: set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c)
Without that set_target_properties I'm don't get any warnings.
Regards,
Mateusz
The text was updated successfully, but these errors were encountered:
On windows you try to set the same name for shared and static libraries using ‚set_target_properties‘. Simple if with NOT (MSVC OR MINGW OR WIN32) etc should be enough.
Hey!
I'm get an warning when I try to compile it using CMake:
warning: multiple rules generate thirdparty/json-c/json-c.lib. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
I think that's because the project does not have switch between static library and dynamic library, and also because of:
set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c)
Without that
set_target_properties
I'm don't get any warnings.Regards,
Mateusz
The text was updated successfully, but these errors were encountered: