From 43b7aa2412e544d615cebc5986e555e5eb45de52 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Fri, 28 Feb 2025 22:13:46 -0800 Subject: [PATCH] Don't check for build type --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53d0ef4bd..0e290b53e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,14 +19,6 @@ if (NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif() -string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_tolower) -if( NOT cmake_build_type_tolower STREQUAL "debug" - AND NOT cmake_build_type_tolower STREQUAL "release" - AND NOT cmake_build_type_tolower STREQUAL "relwithdebinfo") - message(FATAL_ERROR "Unknown build type \"${CMAKE_BUILD_TYPE}\". Allowed values are Debug, Release, RelWithDebInfo (case-insensitive).") -endif() - - ############################################################################# # retrieve version infomation # #############################################################################