From 6315acaa5a5c0a77f66c1b88db1fd1e445f41acc Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 21 Oct 2020 15:43:51 +0200 Subject: Fix OPTIONS argument of qtquick_compiler_add_resources The OPTIONS argument is stored in the variable rcc_options, not options. Fixes: QTBUG-87721 Change-Id: Ibd04ada18461fa1c052be46f3c7aa9cb28f31e8f Reviewed-by: Fabian Kosmale Reviewed-by: Cristian Adam (cherry picked from commit fc95c09b06ff6dcdf72511a06c3c64bfc59261f1) Reviewed-by: Qt Cherry-pick Bot --- tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in index 75fbb0fcf3..5eb9c4442c 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() -- cgit v1.2.3