vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff

13 lines
274 B
Diff
Raw Normal View History

2024-11-11 09:32:33 +01:00
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")