aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdcpp-lib/files/patch-json__CMakeLists.txt
blob: f79a628e7d6847373c76841126ccf818780fd96f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- json/CMakeLists.txt.orig    2015-04-19 21:57:16.000000000 +0000
+++ json/CMakeLists.txt 2016-10-04 14:36:02.121665000 +0000
@@ -12,7 +12,7 @@
                                 ${PROJECT_SOURCE_DIR}/jsonrpc-cpp/networking.cpp)
 set_source_files_properties(${PROJECT_SOURCE_DIR}/jsonrpc-cpp/mongoose.c PROPERTIES COMPILE_FLAGS "-DNDEBUG -DNO_CGI -DNO_SSL")
 if (LOCAL_JSONCPP)
-    set (JSONCPP_LIBRARY jsoncpp)
+    set (JSONCPP_LIBRARY jsoncpp ${CMAKE_THREAD_LIBS_INIT})
     set (JSONCPP_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/jsoncpp/)
     aux_source_directory(${PROJECT_SOURCE_DIR}/jsoncpp/src jsoncpp_SRCS)
     add_library (jsoncpp STATIC ${jsoncpp_SRCS})