diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-01-19 17:45:37 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-01-21 14:24:09 +0100 |
commit | 0d5dc56554988edb87cb1575220a107c8a1f9cc4 (patch) | |
tree | 8a5a2e09d2c545705d1260edd70bb895a1a10729 /cmake/QtSetup.cmake | |
parent | e6d4967f0bf150d746aceca3d9b209bde9728e8a (diff) |
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 <joerg.bornemann@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
-rw-r--r-- | cmake/QtSetup.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
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) |