[CMAKE] Rely less on CMAKE_BUILD_TYPE variable
[reactos.git] / toolchain-gcc.cmake
index 9d2a518..f6ca04a 100644 (file)
@@ -1,10 +1,4 @@
 
-# Default to Debug for the build type
-if(NOT DEFINED CMAKE_BUILD_TYPE)
-    set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
-        "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
-endif()
-
 # pass variables necessary for the toolchain (needed for try_compile)
 set(CMAKE_TRY_COMPILE_PLATFORM_VARIABLES ARCH)