X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=baa49fe4e469c1450accd5f42a6f47b9a5030705;hb=de2c1a4f9bbae7070cf8fd8247db765a23d28a9c;hp=0b78acc9e4c14fd4d2fa27ce9f8ab387463c5a5e;hpb=d32f2fcafe3d3925cd64e332e0d02261a134af21;p=quassel.git diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 0b78acc9..baa49fe4 100644 --- a/src/uisupport/CMakeLists.txt +++ b/src/uisupport/CMakeLists.txt @@ -28,6 +28,7 @@ set(SOURCES styledlabel.cpp tabcompleter.cpp toolbaractionprovider.cpp + treeviewtouch.cpp uisettings.cpp uistyle.cpp @@ -59,5 +60,8 @@ if (WITH_KDE4) endif() if (WITH_KF5) - target_link_libraries(mod_uisupport KF5::CoreAddons KF5::TextWidgets) + target_link_libraries(mod_uisupport KF5::CoreAddons KF5::TextWidgets KF5::XmlGui) +elseif (KF5Sonnet_FOUND) + add_definitions(-DHAVE_SONNET) + target_link_libraries(mod_uisupport KF5::SonnetUi) endif()