Browse Source

exclude kmessagewidget.cpp and wheelhandler.cpp from unity build

Signed-off-by: tnixeu <4436784+tnixeu@users.noreply.github.com>
tnixeu 3 years ago
parent
commit
d0d666d084
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/gui/CMakeLists.txt

+ 3 - 0
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)