diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-21 15:43:51 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-10-21 17:40:14 +0200 |
commit | fc95c09b06ff6dcdf72511a06c3c64bfc59261f1 (patch) | |
tree | ace9218397ad3293d97e4d522a5ff1abcebf3d4e /tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | |
parent | d8359d633bacebc812bcab68fc19266a07500d9f (diff) |
Fix OPTIONS argument of qtquick_compiler_add_resources
The OPTIONS argument is stored in the variable rcc_options, not options.
Pick-to: 5.12
Fixes: QTBUG-87721
Change-Id: Ibd04ada18461fa1c052be46f3c7aa9cb28f31e8f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in')
-rw-r--r-- | tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in index 9c05fb2129..26d42c02a9 100644 --- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in +++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in @@ -85,6 +85,6 @@ but not all the files it references. list(APPEND compiler_output ${loader_source}) endif() - qt5_add_resources(output_resources ${filtered_rcc_files} OPTIONS ${options}) + qt5_add_resources(output_resources ${filtered_rcc_files} OPTIONS ${rcc_options}) set(${outfiles} ${output_resources} ${compiler_output} PARENT_SCOPE) endfunction() |