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 Pick-to: 6.1 Change-Id: If29557998bf7aa786dc5c821e2c55f1195e7922b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
95c6eb2f2e
commit
c3804ba061
@ -391,7 +391,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…
Reference in New Issue
Block a user