Skip to content

Commit 2d6368b

Browse files
committed
Fix compile on windows with clang
1 parent 69098a1 commit 2d6368b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ if(BUILD_STATIC_LIBS)
144144

145145
# avoid name clashes on windows as the shared import lib is also named jsoncpp.lib
146146
if(NOT DEFINED STATIC_SUFFIX AND BUILD_SHARED_LIBS)
147-
if (MSVC)
147+
if (WIN32)
148148
set(STATIC_SUFFIX "_static")
149149
else()
150150
set(STATIC_SUFFIX "")

0 commit comments

Comments
 (0)