aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-07-12 11:09:31 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2022-09-22 11:11:11 +0200
commit1fddbe77f3922c92fa674cda8ef276feb0cd6858 (patch)
treeabebea2d3bd49629c9ca19fd07009bf30344155d /cmake
parentb85b5452521633ae4b584d0e29f9034213a9a18a (diff)
Add qml_compile_hash_p.h to the Qml module sources
Change-Id: I0b607cda3e6e22d558010da5d405ed9cb017a914 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtDeclarativeSetup.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtDeclarativeSetup.cmake b/cmake/QtDeclarativeSetup.cmake
index b6e04fd608..d3561f48ff 100644
--- a/cmake/QtDeclarativeSetup.cmake
+++ b/cmake/QtDeclarativeSetup.cmake
@@ -48,6 +48,7 @@ function(qt_declarative_write_tag_header target_name)
message(FATAL_ERROR "QML compile hash is empty! "
"You need either a valid git repository or a non-empty .tag file.")
endif()
+ target_sources(${target_name} PRIVATE "${out_file}")
endfunction()
# Generate a header file containing a regular expression jit table.