diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2020-12-30 12:36:52 +0000 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2020-12-30 13:00:06 +0000 |
commit | 34c3b12fd58fc1833abd20eb7b222cb6561e1b03 (patch) | |
tree | d1019fb3e3b1b3f2c5dfb9d4f9382b801e27a98c /cmake/QtBuildInformation.cmake | |
parent | 642ee46f98c6b3cd98a323f7dc5cac3a738b066c (diff) |
Revert "CMake: Fix missing report entries"
This reverts commit 642ee46f98c6b3cd98a323f7dc5cac3a738b066c.
Reason for revert: Issue when command_count is actually 0
Pick-to: 6.0
Change-Id: I1b2603f25b56e3bd50cfc22a08925930ad231498
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'cmake/QtBuildInformation.cmake')
-rw-r--r-- | cmake/QtBuildInformation.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/QtBuildInformation.cmake b/cmake/QtBuildInformation.cmake index 15b1a7926a..ff9cc9d866 100644 --- a/cmake/QtBuildInformation.cmake +++ b/cmake/QtBuildInformation.cmake @@ -99,8 +99,7 @@ function(qt_configure_eval_commands) endif() set(command_index 0) - # LESS_EQUAL is used because command_count is not actual count, but last added command index - while(command_index LESS_EQUAL command_count) + while(command_index LESS command_count) get_property(command_args GLOBAL PROPERTY qt_configure_command_${command_index}) if(NOT command_args) message(FATAL_ERROR |