We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fda274d commit 09c5ecdCopy full SHA for 09c5ecd
src/lib_json/CMakeLists.txt
@@ -156,7 +156,11 @@ if(BUILD_STATIC_LIBS)
156
157
# avoid name clashes on windows as the shared import lib is alse named jsoncpp.lib
158
if(NOT DEFINED STATIC_SUFFIX AND BUILD_SHARED_LIBS)
159
- set(STATIC_SUFFIX "_static")
+ if (MSVC)
160
+ set(STATIC_SUFFIX "_static")
161
+ else()
162
+ set(STATIC_SUFFIX "")
163
+ endif()
164
endif()
165
166
set_target_properties(${STATIC_LIB} PROPERTIES
0 commit comments