qtbase: add OPTIONS support to qt_internal_add_resource for qtdeclarative 6.11.0 compatibility
This commit is contained in:
@@ -24,7 +24,7 @@ function(qt_internal_add_resource target resourceName)
|
||||
cmake_parse_arguments(PARSE_ARGV 2 arg
|
||||
""
|
||||
"PREFIX;LANG;BASE;OUTPUT_TARGETS"
|
||||
"FILES")
|
||||
"FILES;OPTIONS")
|
||||
_qt_internal_validate_all_args_are_parsed(arg)
|
||||
|
||||
_qt_internal_process_resource(${target} ${resourceName}
|
||||
@@ -32,6 +32,7 @@ function(qt_internal_add_resource target resourceName)
|
||||
LANG "${arg_LANG}"
|
||||
BASE "${arg_BASE}"
|
||||
FILES ${arg_FILES}
|
||||
OPTIONS ${arg_OPTIONS}
|
||||
OUTPUT_TARGETS out_targets
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user