aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/rttr/disable-werrorr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/rttr/disable-werrorr.patch')
-rw-r--r--vcpkg/ports/rttr/disable-werrorr.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/rttr/disable-werrorr.patch b/vcpkg/ports/rttr/disable-werrorr.patch
new file mode 100644
index 0000000..8e9d944
--- /dev/null
+++ b/vcpkg/ports/rttr/disable-werrorr.patch
@@ -0,0 +1,13 @@
+diff --git a/CMake/utility.cmake b/CMake/utility.cmake
+index 8e7a0c6..ac5e305 100644
+--- a/CMake/utility.cmake
++++ b/CMake/utility.cmake
+@@ -395,7 +395,7 @@ function( set_compiler_warnings target)
+ set(WARNINGS "-Werror"
+ "-Wall")
+ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
+- set(WARNINGS "-Werror"
++ set(WARNINGS
+ "-Wall")
+ elseif(MSVC)
+ set(WARNINGS "/WX"