aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/licensepp/remove-werror.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/licensepp/remove-werror.diff')
-rw-r--r--vcpkg/ports/licensepp/remove-werror.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/licensepp/remove-werror.diff b/vcpkg/ports/licensepp/remove-werror.diff
new file mode 100644
index 0000000..ddbf3bd
--- /dev/null
+++ b/vcpkg/ports/licensepp/remove-werror.diff
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8581813..52b147f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -37,7 +37,7 @@ if (APPLE)
+ endif()
+
+ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -O3 -Wall -Werror -Wno-return-stack-address")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -O3 -Wall -Wno-return-stack-address")
+ endif()
+
+ # Check for cryptopp (static)