Skip to content
Snippets Groups Projects
Commit 3b2f2b55 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Fix setting the default value of CMAKE_BUILD_TYPE

parent 8f28f1c2
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,9 @@ if(NOT "$ENV{CMAKE_UNITY_BUILD_BATCH_SIZE}" STREQUAL "")
endif()
IF(NOT CMAKE_BUILD_TYPE)
SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRING "RelWithDebInfo")
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE)
endif()
#we want Release and RelWithDebInfo to use the same optimization level
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment