Dont force cmake configuration types

This commit is contained in:
Jan Möbius
2016-07-06 08:31:54 +02:00
parent bfd99a11c3
commit 8b71dd6702

View File

@@ -9,7 +9,7 @@ if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
endif ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") endif ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}")
# allow only Debug and Release builds # allow only Debug and Release builds
set (CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE) set (CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "")
mark_as_advanced (CMAKE_CONFIGURATION_TYPES) mark_as_advanced (CMAKE_CONFIGURATION_TYPES)
# set Debus as default build target # set Debus as default build target