From f94a28f0332a56ea8bae7dc741992e409e5e6b47 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 30 Jan 2019 12:09:16 +0200 Subject: [PATCH] maxscale-system-test: Inherit compiler flags Inherit compiler flags when building maxscale-system-test from main cmake file. --- maxscale-system-test/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/maxscale-system-test/CMakeLists.txt b/maxscale-system-test/CMakeLists.txt index cfce1f6e3..4159d6aa4 100644 --- a/maxscale-system-test/CMakeLists.txt +++ b/maxscale-system-test/CMakeLists.txt @@ -14,11 +14,6 @@ # BREAKS_GALERA set(CTEST_BUILD_NAME "${BUILDNAME}") -set(CMAKE_CXX_FLAGS "-std=c++11 -ggdb -Wall -Wextra -Werror -Wno-format-overflow -Wno-unused-function -Wno-unused-parameter -Werror=format-security") -set(CMAKE_CXX_FLAGS_DEBUG "-std=c++11 -ggdb -Wall -Werror -Wno-format-overflow -Wno-unused-function") -set(CMAKE_CXX_FLAGS_RELEASE "-std=c++11 -ggdb -Wall -Werror -Wno-format-overflow -Wno-unused-function") -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-std=c++11 -ggdb -Wall -Werror -Wno-format-overflow -Wno-unused-function") - # utilities.cmake contains all helper functions and extra tools include(utilities.cmake)