summaryrefslogtreecommitdiff
path: root/devel/doctest/files/patch-scripts_cmake_common.cmake
blob: 1603f08698c7ad349151ef559003044f3b9d256d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
- workaround for https://github.com/doctest/doctest/issues/828

--- scripts/cmake/common.cmake.orig	2023-11-09 05:34:19 UTC
+++ scripts/cmake/common.cmake
@@ -79,7 +79,7 @@ macro(add_compiler_flags)
 endmacro()
 
 if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
-    add_compiler_flags(-Werror)
+    #add_compiler_flags(-Werror)
     add_compiler_flags(-fstrict-aliasing)
 
     # The following options are not valid when clang-cl is used.