mirror of https://github.com/microsoft/vcpkg.git
15 lines
480 B
Diff
15 lines
480 B
Diff
diff --git a/sdk/core/azure-core/CMakeLists.txt b/sdk/core/azure-core/CMakeLists.txt
|
|
index c536948..c94441b 100644
|
|
--- a/sdk/core/azure-core/CMakeLists.txt
|
|
+++ b/sdk/core/azure-core/CMakeLists.txt
|
|
@@ -170,6 +170,9 @@ endif()
|
|
|
|
if(BUILD_TRANSPORT_CURL)
|
|
target_link_libraries(azure-core PUBLIC CURL::libcurl)
|
|
+ if(WIN32)
|
|
+ target_link_libraries(azure-core PRIVATE Ws2_32)
|
|
+ endif()
|
|
endif()
|
|
if(BUILD_TRANSPORT_WINHTTP)
|
|
target_link_libraries(azure-core PRIVATE winhttp)
|