We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a056893 commit 3df1f98Copy full SHA for 3df1f98
CMakeLists.txt
@@ -121,6 +121,9 @@ add_library(json-c-static
121
set_property(TARGET json-c PROPERTY C_STANDARD 99)
122
set_property(TARGET json-c-static PROPERTY C_STANDARD 99)
123
if (NOT MSVC)
124
+# Since MS Windows re-uses the .lib suffix for both static libraries
125
+# and the "import library" that's needed to actually link against a
126
+# dll, we can't use the same name for static and dynamic libs. :(
127
set_target_properties(json-c-static PROPERTIES OUTPUT_NAME json-c)
128
endif()
129
0 commit comments