aports/testing/scap-workbench/remove-werror-cxx-flags.patch
2020-06-10 08:10:31 +00:00

13 lines
515 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0e98b7f..de3d01f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -162,7 +162,7 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND ${CMAKE_CXX_COMPILER_VERSION} VE
endif()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra ")
endif()
include_directories(${SCAP_WORKBENCH_INCLUDE_DIRS})