summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-22 13:13:32 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-07 18:52:30 +0100
commitcc2b000f84a8f427f5177cc379e9df6d8e141883 (patch)
treeaf5f90d01199f463f3e548424ecf779420c639a9 /tools
parent34b48cd4f7fed202fffca08b5943eb82cf335b74 (diff)
Fix CMake Unity (Jumbo) builds
Exclude the repc tool, which has issues with generated code. Pick-to: 6.5 Task-number: QTBUG-109394 Change-Id: I681bca23ec587c429516bc2876c86e146a9855d2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/repc/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/repc/CMakeLists.txt b/tools/repc/CMakeLists.txt
index 678b210..3577979 100644
--- a/tools/repc/CMakeLists.txt
+++ b/tools/repc/CMakeLists.txt
@@ -28,8 +28,11 @@ qt_internal_add_tool(${target_name}
LIBRARIES
Qt::CorePrivate
)
+
qt_internal_return_unless_building_tools()
+set_target_properties(${target_name} PROPERTIES UNITY_BUILD OFF)
+
# QLALR Grammars:
qt_process_qlalr(
${target_name}