diff --git a/CMakeLists.txt b/CMakeLists.txt index d37626776..a34eb9d71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,10 @@ if (CURL_FOUND) set(LIB_LIST ${LIB_LIST} ${CURL_LIBRARIES}) endif() +if (WIN32) + set(LIB_LIST ${LIB_LIST} Ws2_32) +endif() + # building project add_library(${PROJECT_NAME} ${SRC_LIST}) target_include_directories(${PROJECT_NAME} PUBLIC include)