Skip to content

Commit 483f1c3

Browse files
TsynkPavelbaylesj
andauthored
Fix compile on windows with clang (#1480)
Co-authored-by: Jordan Bayles <bayles.jordan@gmail.com>
1 parent c04c0c2 commit 483f1c3

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)