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 b0ce247 commit 4f127afCopy full SHA for 4f127af
CMakeLists.txt
@@ -50,7 +50,11 @@ include_directories(${WSJCPP_INCLUDE_DIRS})
50
51
add_executable ("wsjcpp-yaml" ${WSJCPP_SOURCES})
52
53
-target_link_libraries("wsjcpp-yaml" -lpthread ${WSJCPP_LIBRARIES} )
+if(WIN32)
54
+ target_link_libraries("wsjcpp-yaml" ${WSJCPP_LIBRARIES} )
55
+else()
56
+ target_link_libraries("wsjcpp-yaml" -lpthread ${WSJCPP_LIBRARIES} )
57
+endif()
58
59
install(
60
TARGETS
0 commit comments