mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 12:59:00 +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>
16 lines
470 B
Diff
16 lines
470 B
Diff
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index 8cea346c3..967312905 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -118,6 +118,10 @@ if(CURL_HAS_LTO)
|
|
INTERPROCEDURAL_OPTIMIZATION_RELWITHDEBINFO TRUE)
|
|
endif()
|
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
|
+ set_property(TARGET ${LIB_NAME} APPEND PROPERTY COMPILE_DEFINITIONS "_WINSOCK_DEPRECATED_NO_WARNINGS")
|
|
+endif()
|
|
+
|
|
if(WIN32)
|
|
if(BUILD_SHARED_LIBS)
|
|
if(MSVC)
|