Loading CMakeLists.txt +5 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,11 @@ if (NOT is_multi_config) CACHE STRING "Choose the type of build." FORCE ) elseif (NOT CMAKE_BUILD_TYPE IN_LIST allowed_build_types) message(FATAL_ERROR "Unknown build type: ${CMAKE_BUILD_TYPE}") message(WARNING "Unknown build type '${CMAKE_BUILD_TYPE}'. " "Defaulting to '${default_build_type}'") set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE ) endif () endif () Loading Loading
CMakeLists.txt +5 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,11 @@ if (NOT is_multi_config) CACHE STRING "Choose the type of build." FORCE ) elseif (NOT CMAKE_BUILD_TYPE IN_LIST allowed_build_types) message(FATAL_ERROR "Unknown build type: ${CMAKE_BUILD_TYPE}") message(WARNING "Unknown build type '${CMAKE_BUILD_TYPE}'. " "Defaulting to '${default_build_type}'") set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE ) endif () endif () Loading