aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff')
-rw-r--r--vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff b/vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff
new file mode 100644
index 0000000..8537604
--- /dev/null
+++ b/vcpkg/ports/aliyun-oss-cpp-sdk/disable-werror.diff
@@ -0,0 +1,12 @@
+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")