diff --git a/CMakeLists.txt b/CMakeLists.txt index adf852e..9105618 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,12 +4,7 @@ cmake_minimum_required(VERSION 2.8.12.2) if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) message(STATUS "No build type selected, default to Debug") - set(CMAKE_BUILD_TYPE "Debug") -endif() - -if (CMAKE_BUILD_TYPE AND - NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$") - message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") +#IGNORE set(CMAKE_BUILD_TYPE "Debug") endif() if(POLICY CMP0022)