diff --git a/CMakeLists.txt b/CMakeLists.txt
index 99b99b199805173add46d44a966c3cc45a39f57e..55132def1adb60bb32be8aaf33df50de25e84c71 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