fix(CMake/Build): set default build type to RelWithDebInfo (#7445)
This commit is contained in:
parent
2e3072b09a
commit
afb5db6535
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ ENDFOREACH()
|
|||
CU_RUN_HOOK("AFTER_LOAD_CONF")
|
||||
|
||||
# build in Release-mode by default if not explicitly set
|
||||
if( NOT CMAKE_BUILD_TYPE )
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
|
||||
endif()
|
||||
|
||||
# turn off PCH totally if enabled (hidden setting, mainly for devs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue