From e62e68d8dad3e554fdd9a41cea6ecdf35cde3102 Mon Sep 17 00:00:00 2001 From: protomors Date: Wed, 8 Nov 2017 02:31:53 +0600 Subject: CMake: clean up library dependencies. --- src/core/stdclist/CMakeLists.txt | 3 ++- src/core/stdfile/CMakeLists.txt | 3 ++- src/core/stdidle/CMakeLists.txt | 3 ++- src/core/stdssl/CMakeLists.txt | 2 +- src/core/stduserinfo/CMakeLists.txt | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) (limited to 'src/core') diff --git a/src/core/stdclist/CMakeLists.txt b/src/core/stdclist/CMakeLists.txt index 4477d53c3a..9c93e7d364 100644 --- a/src/core/stdclist/CMakeLists.txt +++ b/src/core/stdclist/CMakeLists.txt @@ -1,2 +1,3 @@ set(TARGET StdClist) -include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} comctl32.lib UxTheme.lib Shlwapi.lib) \ No newline at end of file diff --git a/src/core/stdfile/CMakeLists.txt b/src/core/stdfile/CMakeLists.txt index a91f49e32a..3454bf4121 100644 --- a/src/core/stdfile/CMakeLists.txt +++ b/src/core/stdfile/CMakeLists.txt @@ -1,2 +1,3 @@ set(TARGET StdFile) -include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} Shlwapi.lib) \ No newline at end of file diff --git a/src/core/stdidle/CMakeLists.txt b/src/core/stdidle/CMakeLists.txt index 67735cfc07..e11c1176b5 100644 --- a/src/core/stdidle/CMakeLists.txt +++ b/src/core/stdidle/CMakeLists.txt @@ -1,2 +1,3 @@ set(TARGET StdIdle) -include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} Wtsapi32.lib) \ No newline at end of file diff --git a/src/core/stdssl/CMakeLists.txt b/src/core/stdssl/CMakeLists.txt index ecc952031a..6b2c0a91d0 100644 --- a/src/core/stdssl/CMakeLists.txt +++ b/src/core/stdssl/CMakeLists.txt @@ -1,3 +1,3 @@ set(TARGET StdSSL) include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) -target_link_libraries(${TARGET} secur32.lib crypt32.lib) \ No newline at end of file +target_link_libraries(${TARGET} ws2_32.lib secur32.lib crypt32.lib) \ No newline at end of file diff --git a/src/core/stduserinfo/CMakeLists.txt b/src/core/stduserinfo/CMakeLists.txt index 42a47311b7..7bdbd5c48b 100644 --- a/src/core/stduserinfo/CMakeLists.txt +++ b/src/core/stduserinfo/CMakeLists.txt @@ -1,2 +1,3 @@ set(TARGET StdUserInfo) -include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) \ No newline at end of file +include(${CMAKE_SOURCE_DIR}/cmake/core.cmake) +target_link_libraries(${TARGET} UxTheme.lib ws2_32.lib) \ No newline at end of file -- cgit v1.2.3