mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00
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()
|
|
|