aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-24 08:58:11 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-04-24 11:58:54 +0200
commit73a2843dadb5819090e98259806ce4c1a8057f0a (patch)
tree7ff51f2664528a112e2224e1ba5f6d29bfc8692b
parentc1bda0dc69dfa9f0750dd9aa0fe847607e974288 (diff)
Compiler: Fix unity build
Fix an error about a duplicate deduplicate() template. Amends 4619377409f28f35cfd9bf0f6ed2bd1094e66c16. Task-number: QTBUG-115140 Change-Id: I12b34f09a6891869048ed8904edb7d1ca6c2fee2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/qmlcompiler/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qmlcompiler/CMakeLists.txt b/src/qmlcompiler/CMakeLists.txt
index 3d1311b3f0..4e7d1cbf1c 100644
--- a/src/qmlcompiler/CMakeLists.txt
+++ b/src/qmlcompiler/CMakeLists.txt
@@ -44,6 +44,8 @@ qt_internal_add_module(QmlCompiler
qqmlsa_p.h qqmlsa.h qqmlsa.cpp
qqmlsaconstants.h
qqmlsasourcelocation.h qqmlsasourcelocation.cpp qqmlsasourcelocation_p.h
+ NO_UNITY_BUILD_SOURCES
+ qqmljsoptimizations.cpp
PUBLIC_LIBRARIES
Qt::Core
Qt::Qml