Link with pthread on win32
[novacoin.git] / CMakeLists.txt
index 3d09969..6118dd4 100644 (file)
@@ -200,7 +200,7 @@ list(APPEND ALL_LIBRARIES ${Boost_LIBRARIES} ixwebsocket OpenSSL::Crypto qrencod
 if (WIN32)
     configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/qt/res/bitcoin-qt.rc bitcoin-qt.rc)
     list(APPEND ALL_SOURCES bitcoin-qt.rc)
-    list(APPEND ALL_LIBRARIES ws2_32 shlwapi mswsock ole32 oleaut32 uuid gdi32)
+    list(APPEND ALL_LIBRARIES ws2_32 shlwapi mswsock ole32 oleaut32 uuid gdi32 pthread)
     list(APPEND ALL_DEFINITIONS WIN32)
 endif()