exclude kmessagewidget.cpp and wheelhandler.cpp from unity build
authortnixeu <4436784+tnixeu@users.noreply.github.com>
Wed, 9 Nov 2022 22:19:35 +0000 (23:19 +0100)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Mon, 14 Nov 2022 07:41:47 +0000 (08:41 +0100)
Signed-off-by: tnixeu <4436784+tnixeu@users.noreply.github.com>
src/gui/CMakeLists.txt

index c698e1a25ca9db334e87ad3281d6c718686c0a00..8543e41ee3fe14f5e35134ad99d64768691e4bdb 100644 (file)
@@ -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)