From d0d666d08464fe4149735df9b4a15009a150419c Mon Sep 17 00:00:00 2001 From: tnixeu <4436784+tnixeu@users.noreply.github.com> Date: Wed, 9 Nov 2022 23:19:35 +0100 Subject: [PATCH] exclude kmessagewidget.cpp and wheelhandler.cpp from unity build Signed-off-by: tnixeu <4436784+tnixeu@users.noreply.github.com> --- src/gui/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index c698e1a25..8543e41ee 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -317,6 +317,9 @@ set(3rdparty_SRC ../3rdparty/kirigami/wheelhandler.cpp ) +set_property(SOURCE ../3rdparty/kmessagewidget/kmessagewidget.cpp PROPERTY SKIP_UNITY_BUILD_INCLUSION ON) +set_property(SOURCE ../3rdparty/kirigami/wheelhandler.cpp PROPERTY SKIP_UNITY_BUILD_INCLUSION ON) + if(NOT WIN32) list(APPEND 3rdparty_SRC ../3rdparty/qtlockedfile/qtlockedfile_unix.cpp) set_property(SOURCE ../3rdparty/qtlockedfile/qtlockedfile_unix.cpp PROPERTY SKIP_UNITY_BUILD_INCLUSION ON) -- 2.30.2