From 0d5dc56554988edb87cb1575220a107c8a1f9cc4 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 19 Jan 2022 17:45:37 +0100 Subject: CMake: Display CMAKE_BUILD_TYPE when including QtSetup This will show the CMAKE_BUILD_TYPE that was computed for a configured repo or standalone tests, after the logic in QtBuildInternalsExtra.cmake is executed. Pick-to: 6.2 6.3 Change-Id: Ib8ffa2c7806a4c16385a2fcd4500f8a0f6a9aa88 Reviewed-by: Joerg Bornemann --- cmake/QtSetup.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake/QtSetup.cmake') diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index 5447f1087a..2a26878c0f 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -35,6 +35,8 @@ elseif(CMAKE_CONFIGURATION_TYPES) message(STATUS "Default build configuration set to '${CMAKE_NINJA_MULTI_DEFAULT_BUILD_TYPE}'.") endif() +else() + message(STATUS "CMAKE_BUILD_TYPE was set to: '${CMAKE_BUILD_TYPE}'") endif() # Appends a 'debug postfix' to library targets (not executables) -- cgit v1.2.3