X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2FCMakeLists.txt;h=eedb69c6f47564ce6d484b13ea30e18eace0b445;hp=6987ec6065ed9b3dfdfad160c7c614cfca2ac154;hb=0cdc3bdc397e5d9b45fecb682f0de73d47f9e228;hpb=80f22eedcd34e1fc021f5d30fe67a56955dc9083 diff --git a/src/qtui/CMakeLists.txt b/src/qtui/CMakeLists.txt index 6987ec60..eedb69c6 100644 --- a/src/qtui/CMakeLists.txt +++ b/src/qtui/CMakeLists.txt @@ -99,7 +99,7 @@ if (LibsnoreQt5_FOUND) add_definitions(-DHAVE_LIBSNORE) list(APPEND SOURCES snorenotificationbackend.cpp) list(APPEND FORMS snorentificationconfigwidget.ui) - list(APPEND LIBS Snore::Libsnore) + list(APPEND LIBS Snore::Libsnore Snore::LibsnoreSettings) endif() if (PHONON_FOUND OR Phonon4Qt5_FOUND) @@ -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})