From 99c45125b23fb02e800dcb86bd4a4f6a246232fa Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Thu, 30 Mar 2023 17:09:03 +0200 Subject: [PATCH] Mark RegExpJitTables.h as non-module header RegExpJitTables.h should not be processed by syncqt and should not be installed. So disable any postprocessing of the header by setting the _qt_non_module_header. Change-Id: Ib91399bacea5f792559a2ae2274bcdcb8ae9ae8b Reviewed-by: Alexandru Croitor (cherry picked from commit f4528858f6f79c1c788c177985c5a9ccc0b8207b) Reviewed-by: Qt Cherry-pick Bot --- cmake/QtDeclarativeSetup.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/QtDeclarativeSetup.cmake b/cmake/QtDeclarativeSetup.cmake index 6f39befa26..165a71e09a 100644 --- a/cmake/QtDeclarativeSetup.cmake +++ b/cmake/QtDeclarativeSetup.cmake @@ -74,5 +74,7 @@ function(qt_declarative_generate_reg_exp_jit_tables consuming_target) ) target_sources(${consuming_target} PRIVATE ${output_file}) target_include_directories(${consuming_target} PRIVATE $) - set_source_files_properties(${output_file} PROPERTIES GENERATED TRUE) + set_source_files_properties(${output_file} PROPERTIES + GENERATED TRUE + _qt_non_module_header TRUE) endfunction()