summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorQuietust2012-02-16 08:07:10 -0600
committerQuietust2012-02-16 08:07:10 -0600
commit0d5c85ac04e65bd16b0188398062218f04db3ddc (patch)
treee8a2cbd69533f73526a3677bbb2df2a57c1b95d3 /CMakeLists.txt
parent1bf50808285938e8d37e4aab7770b2864b0103a7 (diff)
downloaddfhack-0d5c85ac04e65bd16b0188398062218f04db3ddc.tar.gz
dfhack-0d5c85ac04e65bd16b0188398062218f04db3ddc.tar.bz2
dfhack-0d5c85ac04e65bd16b0188398062218f04db3ddc.tar.xz
Properly remove Debug (and MinSizeRel) build configurations
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d251b78e..1b460822 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,8 @@
# Set up build types
if(CMAKE_CONFIGURATION_TYPES)
- SET(CMAKE_CONFIGURATION_TYPES "Release;RelWithDebInfo" CACHE STRING "Semicolon-separate list of supported configuration types" FORCE)
+ SET(CMAKE_CONFIGURATION_TYPES Release RelWithDebInfo)
+ SET(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}" CACHE STRING "List of supported configuration types" FORCE)
else(CMAKE_CONFIGURATION_TYPES)
if (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: Release RelWithDebInfo.")