X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=b49de36f7525b30d2e4bdf984cb10f600733a522;hb=bc6abecf0522c9944d8145218bb0636766126da0;hp=c5747e90e744c34ed15385d617f4cdcddba9df51;hpb=0662b79a931f0232b0f97cd6ff644e500b94f3d1;p=novacoin.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5747e9..b49de36 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -116,7 +116,8 @@ list(APPEND ALL_LIBRARIES ${Boost_LIBRARIES} ixwebsocket OpenSSL::Crypto) # Windows-specific libraries if (WIN32) - list(APPEND ALL_LIBRARIES kernel32 user32 gdi32 comdlg32 winspool winmm shell32 comctl32 ole32 oleaut32 uuid rpcrt4 advapi32 ws2_32 mswsock shlwapi) + list(APPEND ALL_LIBRARIES kernel32 user32 gdi32 comdlg32 winspool winmm shell32 comctl32 ole32 oleaut32 uuid rpcrt4 advapi32 ws2_32 mswsock shlwapi pthread) + list(APPEND ALL_DEFINITIONS WIN32) endif() # Some systems need rt library