X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2FCMakeLists.txt;h=a72a9c731ba8499ac32e1919fd0cc1e3ed192e1c;hp=0b78acc9e4c14fd4d2fa27ce9f8ab387463c5a5e;hb=0cdc3bdc397e5d9b45fecb682f0de73d47f9e228;hpb=ef13687df76b292f36f330bed44cf9f35ac53632 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()