mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 04:49:01 +08:00
b224213946
* [curl] Update to 7.86.0 * [azure-core-cpp] Add missing Ws2_32.lib. Filed upstream as https://github.com/Azure/azure-sdk-for-cpp/pull/4127 * [aws-sdk-cpp] Lock the selected curl features. Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
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)
|