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_DEFINITIONS WIN32)
endif()
if (APPLE)
# 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)
+ list(APPEND ALL_DEFINITIONS WIN32)
endif()
# Some systems need rt library