CMake: fix CMake function qt_commandline_addString
1. a missing '}' breaks CMake 2. the variable "opt" should really be "arg", otherwise it'll be meaningless Change-Id: If29557998bf7aa786dc5c821e2c55f1195e7922b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit c3804ba061ef7ea073dab2855502d35a4d3a67df) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
192991ae35
commit
7708565ec2
@ -362,7 +362,7 @@ function(qt_commandline_addString arg val nextok)
|
||||
qtConfValidateValue("${arg}" "${val}" success)
|
||||
if(success)
|
||||
if(DEFINED command_line_option_${arg}_variable)
|
||||
set(opt ${command_line_option_${arg}_variable)
|
||||
set(arg ${command_line_option_${arg}_variable})
|
||||
endif()
|
||||
set_property(GLOBAL APPEND PROPERTY "INPUT_${arg}" "${val}")
|
||||
set_property(GLOBAL APPEND PROPERTY CONFIG_INPUTS ${arg})
|
||||
|
Loading…
x
Reference in New Issue
Block a user