From 87b3b48fe099bee244fb5677fb0e52b873020c7f Mon Sep 17 00:00:00 2001 From: krush11 <krushnalpatel11@gmail.com> Date: Sun, 10 Jan 2021 11:11:23 +0530 Subject: [PATCH] added multi-config to regexp --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fcb4a1d88f..6ae169d56a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1051,7 +1051,9 @@ endif() if(CMAKE_GENERATOR MATCHES Xcode) status(" Xcode:" ${XCODE_VERSION}) endif() -if(NOT CMAKE_GENERATOR MATCHES "Xcode|Visual Studio") +if(CMAKE_GENERATOR MATCHES "Xcode|Visual Studio|Multi-Config") + status(" Configuration:" ${CMAKE_CONFIGURATION_TYPES}) +else() status(" Configuration:" ${CMAKE_BUILD_TYPE}) endif()