X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=7d8f3c51d3d13c8f858ffe3ebdb984d6f59d4cc9;hb=03194e9e5aa5295b935d71e15535023e6cbf1e05;hp=f32828c218ed2fb7316d6c4bca5d17b0fde499bb;hpb=9f46e1b71504b8593fb0f1d0c4b9c4373173750d;p=novacoin.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f32828c..7d8f3c5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -114,10 +114,14 @@ set(generic_sources list(APPEND ALL_SOURCES ${generic_sources}) list(APPEND ALL_LIBRARIES ${Boost_LIBRARIES} ixwebsocket OpenSSL::Crypto) -# Windows-specific libraries if (WIN32) + # Windows-specific libraries 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) + + # Resources + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bitcoin.rc bitcoin.rc) + list(APPEND ALL_SOURCES ${CMAKE_BINARY_DIR}/bitcoin.rc) endif() # Some systems need rt library