소스 검색

HPCC-14790 Overwrite Cmake supplied RelDebWithInfo w Release cxx flags

Signed-off-by: Michael Gardner <michael.gardner@lexisnexis.com>
Michael Gardner 9 년 전
부모
커밋
a2478914b0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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")