This will be needed to replace QClipboard in some places.
Signed-off-by: Kevin Ottens <ervin@kde.org>
project(gui)
find_package(Qt5 REQUIRED COMPONENTS Widgets Svg Qml Quick QuickControls2 QuickWidgets Xml Network)
find_package(KF5Archive REQUIRED)
+find_package(KF5GuiAddons)
if(QUICK_COMPILER)
find_package(Qt5QuickCompiler)
KF5::Archive
)
+if(KF5GuiAddons_FOUND)
+ target_link_libraries(nextcloudCore
+ PUBLIC
+ KF5::GuiAddons
+ )
+ add_definitions(-DHAVE_KGUIADDONS)
+endif()
+
add_subdirectory(socketapi)
# skip unity inclusion for files which cause problems with a CMake unity build