2020-07-07 04:23:44 +08:00
|
|
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
2020-08-13 01:23:44 +08:00
|
|
|
index 62b7b33..8a4bd71 100644
|
2020-07-07 04:23:44 +08:00
|
|
|
--- a/lib/CMakeLists.txt
|
|
|
|
+++ b/lib/CMakeLists.txt
|
2020-08-13 01:23:44 +08:00
|
|
|
@@ -107,6 +107,10 @@ endif()
|
2020-07-07 04:23:44 +08:00
|
|
|
|
|
|
|
target_link_libraries(${LIB_NAME} ${CURL_LIBS})
|
2019-05-27 07:53:41 +08:00
|
|
|
|
|
|
|
+if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
2020-07-07 04:23:44 +08:00
|
|
|
+ add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS)
|
2020-08-13 01:23:44 +08:00
|
|
|
+endif()
|
|
|
|
+
|
|
|
|
if(WIN32)
|
2020-07-07 04:23:44 +08:00
|
|
|
add_definitions(-D_USRDLL)
|
|
|
|
endif()
|