summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/cmake')
-rw-r--r--conf.d/cmake/config.cmake8
1 files changed, 1 insertions, 7 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 00b8141..4ff2fe5 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -38,13 +38,7 @@ set(PROJECT_SRC_DIR_PATTERN "[^_]*")
# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
# Set a default build type if none was specified
-set(default_build_type "Debug")
-if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- message(STATUS "Setting build type to '${default_build_type}' as none was specified.")
- set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
- # Set the possible values of build type for cmake-gui
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
-endif()
+set(BUILD_TYPE "Debug")
# Alsa does not really like libEfence
set(USE_EFENCE 0)