From 69b4a2781ac883dcf7cccb75f9bfd73a1cbd486d Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Wed, 22 Dec 2021 08:59:10 +0300 Subject: [PATCH] Windows libraries linking for daemon --- src/CMakeLists.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4529a77..8e204ee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -98,7 +98,7 @@ list(APPEND ALL_LIBRARIES ${Boost_LIBRARIES} ixwebsocket OpenSSL::Crypto) # Windows-specific libraries if (WIN32) - list(APPEND ALL_LIBRARIES ws2_32 mswsock) + list(APPEND ALL_LIBRARIES kernel32 user32 gdi32 comdlg32 winspool winmm shell32 comctl32 ole32 oleaut32 uuid rpcrt4 advapi32 ws2_32 mswsock shlwapi) endif() # Some systems need rt library -- 1.7.1