diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2022-01-19 17:45:37 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-26 16:19:36 +0000 |
commit | 3322d773efaf5c7f8eee9a18c6726bd9cba1049a (patch) | |
tree | 9477e27885767cebc4a486ed3df7a24ee8b941ef /cmake | |
parent | d08e6d836bb91bea3ba6ee35d8645f8a8d1b4c10 (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.
Change-Id: Ib8ffa2c7806a4c16385a2fcd4500f8a0f6a9aa88
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 0d5dc56554988edb87cb1575220a107c8a1f9cc4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to '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) |