From 52f116af8325656a013688f98d84f54cb0dac817 Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Tue, 12 Dec 2017 15:25:45 +0100 Subject: [PATCH 1/2] Completely remove additional CXXFLAGS. --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f0c44e..611a59a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,13 +110,6 @@ set(PROJECT_VERSION ${CPACK_PACKAGE_VERSION}) message(STATUS "Version: ${PROJECT_VERSION}") if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \ - -Wall \ - -Wextra \ - -Werror \ - -pipe \ - -pedantic \ - -Wunreachable-code") if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION) -- 2.14.3