From 5315fa5f9e2c6cad307ab02a8336fb8734c637a2 Mon Sep 17 00:00:00 2001 From: gereon Date: Fri, 22 Feb 2013 14:30:56 +0100 Subject: [PATCH] undoing previous commit. Just ignore those... --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ffe20f22..8cf280117 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,13 +50,13 @@ option(USE_POPCNT "Sets whether the popcnt instruction is going to be used." ON) option(USE_BOOST_STATIC_LIBRARIES "Sets whether the Boost libraries should be linked statically." ON) # If the DEBUG option was turned on, we will target a debug version and a release version otherwise -#if (DEBUG) -# set (CMAKE_BUILD_TYPE "DEBUG") -# message(STATUS "Building DEBUG version.") -#else() -# set (CMAKE_BUILD_TYPE "RELEASE") -# message(STATUS "Building RELEASE version.") -#endif() +if (DEBUG) + set (CMAKE_BUILD_TYPE "DEBUG") + message(STATUS "Building DEBUG version.") +else() + set (CMAKE_BUILD_TYPE "RELEASE") + message(STATUS "Building RELEASE version.") +endif() message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") message(STATUS "CMAKE_BUILD_TYPE (ENV): $ENV{CMAKE_BUILD_TYPE}")