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