move iphlpapi to CURL_NETWORK_AND_TIME_LIBS

This commit is contained in:
Viktor Szakats 2025-06-21 20:35:31 +02:00
parent c43667f5ae
commit 02674509b0
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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")