From 09176d5efede1fe13b6fc058045316674efec4f3 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 12 Jan 2019 04:19:52 +0100 Subject: [PATCH] WIP --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cada50..f3a19f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,11 +152,10 @@ target_link_libraries(mod_topic utils) target_link_libraries(utils network) if(WIN32) - find_library(WS2_32_LIBRARY ws2_32) - target_link_libraries(uhub ${WS2_32_LIBRARY}) - target_link_libraries(autotest-bin ${WS2_32_LIBRARY}) - target_link_libraries(mod_logging ${WS2_32_LIBRARY}) - target_link_libraries(mod_welcome ${WS2_32_LIBRARY}) + target_link_libraries(uhub ws2_32) + target_link_libraries(autotest-bin ws2_32) + target_link_libraries(mod_logging ws2_32) + target_link_libraries(mod_welcome ws2_32) endif() if(UNIX)