HPCC-14790 Overwrite Cmake supplied RelDebWithInfo w Release cxx flags Reviewed-By: Mark Kelly <mark.kelly@lexisnexis.com> Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@@ -244,6 +244,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wparentheses")
endif ()
+ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE}")
if (GENERATE_COVERAGE_INFO)
message ("Build system with coverage.")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")