X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=baa49fe4e469c1450accd5f42a6f47b9a5030705;hb=0ba56e60f400621ddc291669dc2c03a8e461c224;hp=52f386f68cc320dacff71bd0ad9472549874eafb;hpb=1d3537dca504cb52ff0434471537a96ca4432007;p=quassel.git diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 52f386f6..baa49fe4 100644 --- a/src/uisupport/CMakeLists.txt +++ b/src/uisupport/CMakeLists.txt @@ -1,6 +1,7 @@ # Builds the uisupport module set(SOURCES + aboutdata.cpp abstractbuffercontainer.cpp abstractitemview.cpp action.cpp @@ -27,6 +28,7 @@ set(SOURCES styledlabel.cpp tabcompleter.cpp toolbaractionprovider.cpp + treeviewtouch.cpp uisettings.cpp uistyle.cpp @@ -57,3 +59,9 @@ if (WITH_KDE4) target_link_libraries(mod_uisupport ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBRARY}) endif() +if (WITH_KF5) + 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()