From ba51cccdb74045f5ec1b799134b34847172a9bcf Mon Sep 17 00:00:00 2001 From: Raphael Grimm <raphael.grimm@kit.edu> Date: Tue, 19 May 2020 23:46:49 +0200 Subject: [PATCH] Use default build type RelWithDebInfo --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99b99b199..55132def1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ if(${CMAKE_VERSION} VERSION_GREATER 3.16) endif() IF(NOT CMAKE_BUILD_TYPE) - SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") + SET_PROPERTY(CACHE CMAKE_BUILD_TYPE PROPERTY STRING "RelWithDebInfo") endif() #we want Release and RelWithDebInfo to use the same optimization level -- GitLab