aboutsummaryrefslogtreecommitdiff
path: root/ports/aws-sdk-cpp/disable_warning_as_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/aws-sdk-cpp/disable_warning_as_error.patch')
-rw-r--r--ports/aws-sdk-cpp/disable_warning_as_error.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/aws-sdk-cpp/disable_warning_as_error.patch b/ports/aws-sdk-cpp/disable_warning_as_error.patch
new file mode 100644
index 000000000..ec5587eb8
--- /dev/null
+++ b/ports/aws-sdk-cpp/disable_warning_as_error.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/compiler_settings.cmake b/cmake/compiler_settings.cmake
+index 36795a2..77334ee 100644
+--- a/cmake/compiler_settings.cmake
++++ b/cmake/compiler_settings.cmake
+@@ -57,7 +57,7 @@ endif()
+ if(MSVC)
+ # warnings as errors, max warning level (4)
+ if(NOT CMAKE_CXX_FLAGS MATCHES "/WX")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
++ #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
+ endif()
+
+ # taken from http://stackoverflow.com/questions/2368811/how-to-set-warning-level-in-cmake