diff --git a/cmake_targets/CMakeLists.txt b/cmake_targets/CMakeLists.txt
index a4f7c999c030a88937fff54e28787e497f657da6..9d81276f113759b306ac99d5e5ddf85edbd7a894 100644
--- a/cmake_targets/CMakeLists.txt
+++ b/cmake_targets/CMakeLists.txt
@@ -99,6 +99,7 @@ endmacro(add_list2_option)
 #############################################
 
 add_list1_option(CMAKE_BUILD_TYPE "RelWithDebInfo" "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." Debug Release RelWithDebInfo MinSizeRel)
+set(CMAKE_BUILD_TYPE "RelWithDebInfo")
 
 #
 set(CMAKE_C_FLAGS