opnsense-ports/devel/doctest/files/patch-scripts_cmake_common.cmake
Franco Fichtner 5a88b99230 */*: sync with upstream
Taken from: FreeBSD
2023-11-09 12:15:31 +01:00

13 lines
438 B
CMake

- 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.