From: tnixeu <4436784+tnixeu@users.noreply.github.com> Date: Wed, 9 Nov 2022 22:19:35 +0000 (+0100) Subject: exclude kmessagewidget.cpp and wheelhandler.cpp from unity build X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~141^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d0d666d08464fe4149735df9b4a15009a150419c;p=nextcloud-desktop.git exclude kmessagewidget.cpp and wheelhandler.cpp from unity build Signed-off-by: tnixeu <4436784+tnixeu@users.noreply.github.com> --- 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)