diff --git a/CMakeLists.txt b/CMakeLists.txt index 3306ac1986..3556a9e4fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1957,7 +1957,7 @@ set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS "HAVE_CONFIG_H") if(WIN32) list(APPEND CURL_NETWORK_AND_TIME_LIBS "${_win32_winsock}") if(NOT WINCE AND NOT WINDOWS_STORE) - list(APPEND CURL_LIBS "iphlpapi") + list(APPEND CURL_NETWORK_AND_TIME_LIBS "iphlpapi") endif() if(NOT WINCE) list(APPEND CURL_LIBS "bcrypt")