From 8a560c8f66d3911fb94bff9b3b3b8565f70f1cbc Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 11 Oct 2024 09:17:42 -0500 Subject: [PATCH] CMake: fix check_compiler_setup macro for multi generator setup --- cmake/macros/check_compiler_setup/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/macros/check_compiler_setup/CMakeLists.txt b/cmake/macros/check_compiler_setup/CMakeLists.txt index 543f86cadc..0b68d5a942 100644 --- a/cmake/macros/check_compiler_setup/CMakeLists.txt +++ b/cmake/macros/check_compiler_setup/CMakeLists.txt @@ -1,5 +1,6 @@ # use a "Custom" build type to avoid auto populated compiler flags set(CMAKE_BUILD_TYPE "Custom") +set(CMAKE_CONFIGURATION_TYPES "DEBUG;RELEASE") cmake_minimum_required(VERSION 3.13.4) project(CheckCompilerSetup) add_executable(CheckCompilerSetupExec dummy.cpp) -- 2.39.5