X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2FCMakeLists.txt;h=eedb69c6f47564ce6d484b13ea30e18eace0b445;hb=0cdc3bdc397e5d9b45fecb682f0de73d47f9e228;hp=8510a7158914d4c61d67ba0bdeaee75dba192bbd;hpb=65b246cb05413172a0f5b1bb8face5f866f80239;p=quassel.git diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index 8510a715..eedb69c6 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -156,6 +156,12 @@ if (WITH_NOTIFICATION_CENTER) list(APPEND LIBS "/System/Library/Frameworks/Foundation.framework") endif() +if (KF5Sonnet_FOUND) + add_definitions(-DHAVE_SONNET) + list(APPEND SOURCES settingspages/sonnetsettingspage.cpp) + list(APPEND LIBS KF5::SonnetUi) +endif() + foreach(FORM ${FORMS}) set(FORMPATH ${FORMPATH} ui/${FORM}) endforeach(FORM ${FORMS})