diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-07-03 16:36:16 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-07-04 07:12:10 +0000 |
commit | 749ca5d0272eec49c2986eecebe897d311cbf372 (patch) | |
tree | 7f9472c18c6f1ca6f32b48c6e5a0f4f515b1389b /tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | |
parent | dd9e41d1a5138fd58759c847525de7453efd2f00 (diff) |
Add cmake directory dependency for .rcc files process by qmlcachegen
This is necessary to trigger a re-configuration if any of those changes.
Fixes: QTBUG-85190
Change-Id: I9a9987533976664d5c382663c52f13a2933a167b
Reviewed-by: Evgeniy Dushistov <dushistov@mail.ru>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in')
-rw-r--r-- | tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in index 7209f1ae19..9c05fb2129 100644 --- a/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in +++ b/tools/qmlcachegen/Qt5QuickCompilerConfig.cmake.in @@ -49,6 +49,7 @@ but not all the files it references. set(new_resource_file ${CMAKE_CURRENT_BINARY_DIR}/${resource_base}_qmlcache.qrc) get_filename_component(input_resource ${_resource} ABSOLUTE) + set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${input_resource}") execute_process(COMMAND ${compiler_path} --filter-resource-file ${input_resource} -o ${new_resource_file} OUTPUT_VARIABLE remaining_files) list(APPEND filtered_rcc_files ${new_resource_file}) |