Browse Source

Merge pull request #8137 from Michael-Gardner/HPCC-14790

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>
Richard Chapman 9 years ago
parent
commit
4c0b559bae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmake_modules/commonSetup.cmake

+ 1 - 0
cmake_modules/commonSetup.cmake

@@ -244,6 +244,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "")
           SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wparentheses")
         endif ()
       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")