X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=baa49fe4e469c1450accd5f42a6f47b9a5030705;hb=b509e40498a11254ba39b791ee7131fd319b60ab;hp=37ea3114f8e3bc53106b22db7272d95a9e771450;hpb=4988547cbb3c35016872a4ed8dbcc1376473ad80;p=quassel.git diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 37ea3114..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 @@ -60,4 +61,7 @@ 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()