X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=a72a9c731ba8499ac32e1919fd0cc1e3ed192e1c;hb=0a43227b8cd44625f4881cc1545d42c8c8a4876c;hp=0b78acc9e4c14fd4d2fa27ce9f8ab387463c5a5e;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3;p=quassel.git diff --git a/src/uisupport/CMakeLists.txt b/src/uisupport/CMakeLists.txt index 0b78acc9..a72a9c73 100644 --- a/src/uisupport/CMakeLists.txt +++ b/src/uisupport/CMakeLists.txt @@ -59,5 +59,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()