vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff
2024-11-11 00:32:33 -08:00

13 lines
274 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ea0d8d6..c04ec99 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,7 @@ else()
endif()
endif()
+list(REMOVE_ITEM SDK_COMPILER_FLAGS "-Werror")
if (BUILD_SHARED_LIBS)
set(STATIC_LIB_SUFFIX "-static")