CMake: Fix missing report entries
Increment command_count correct way. Fixes: QTBUG-88054 Pick-to: 6.0 Change-Id: I0769814ed75ee12db1cab3b1f85635b4d7ee0605 Reviewed-by: Craig Scott <craig.scott@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
6d41d0f2b7
commit
01708a44de
@ -85,11 +85,11 @@ function(qt_configure_record_command)
|
|||||||
|
|
||||||
if(NOT DEFINED command_count)
|
if(NOT DEFINED command_count)
|
||||||
set(command_count 0)
|
set(command_count 0)
|
||||||
else()
|
|
||||||
math(EXPR command_count "${command_count}+1")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_property(GLOBAL PROPERTY qt_configure_command_${command_count} "${ARGV}")
|
set_property(GLOBAL PROPERTY qt_configure_command_${command_count} "${ARGV}")
|
||||||
|
|
||||||
|
math(EXPR command_count "${command_count}+1")
|
||||||
set_property(GLOBAL PROPERTY qt_configure_command_count "${command_count}")
|
set_property(GLOBAL PROPERTY qt_configure_command_count "${command_count}")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user