CMake: Disable unity build for QGtk3ThemePlugin

The sources pull in X includes that don't play well with unity builds.

Change-Id: Ie50aa6663adc45c86d1798872239b256c1803638
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 48e896baf6e317985c33a761048ef18b089ff891)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Joerg Bornemann 2024-06-21 12:19:16 +02:00 committed by Qt Cherry-pick Bot
parent 70f38f48c1
commit 7477297c87

View File

@ -15,6 +15,7 @@ qt_internal_add_plugin(QGtk3ThemePlugin
OUTPUT_NAME qgtk3
PLUGIN_TYPE platformthemes
DEFAULT_IF FALSE
NO_UNITY_BUILD
SOURCES
main.cpp
qgtk3dialoghelpers.cpp qgtk3dialoghelpers.h