Revert "CMake: Fix missing report entries"
This reverts commit 642ee46f98c6b3cd98a323f7dc5cac3a738b066c. Reason for revert: Issue when command_count is actually 0 Change-Id: I1b2603f25b56e3bd50cfc22a08925930ad231498 Reviewed-by: Cristian Adam <cristian.adam@qt.io> (cherry picked from commit 34c3b12fd58fc1833abd20eb7b222cb6561e1b03) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
294f89890e
commit
5164cf903e
@ -99,8 +99,7 @@ function(qt_configure_eval_commands)
|
|||||||
endif()
|
endif()
|
||||||
set(command_index 0)
|
set(command_index 0)
|
||||||
|
|
||||||
# LESS_EQUAL is used because command_count is not actual count, but last added command index
|
while(command_index LESS command_count)
|
||||||
while(command_index LESS_EQUAL command_count)
|
|
||||||
get_property(command_args GLOBAL PROPERTY qt_configure_command_${command_index})
|
get_property(command_args GLOBAL PROPERTY qt_configure_command_${command_index})
|
||||||
if(NOT command_args)
|
if(NOT command_args)
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user