mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 11:19:01 +08:00
f12d986e6a
* [curl] Update to 7.71.0 * Update to 7.71.1
16 lines
397 B
Diff
16 lines
397 B
Diff
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index 62b7b33..9b0e2e1 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -107,7 +107,9 @@ endif()
|
|
|
|
target_link_libraries(${LIB_NAME} ${CURL_LIBS})
|
|
|
|
-if(WIN32)
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
|
+ add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
|
|
+elseif(WIN32)
|
|
add_definitions(-D_USRDLL)
|
|
endif()
|
|
|