X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=2c29af4407e24c12cf7913f57cf0b72e4d52b772;hp=c2ef8b26e1ac86e72d1b9a46bbf0da65a2010c88;hb=65b246cb05413172a0f5b1bb8face5f866f80239;hpb=9ad0c72c466afbc98a38b5f57f0ad8ed34d5f4c4 diff --git a/CMakeLists.txt b/CMakeLists.txt index c2ef8b26..2c29af44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -217,12 +217,21 @@ if (USE_QT5) PURPOSE "Required for audio notifications" ) - find_package(LibsnoreQt5 0.5.70 QUIET) + find_package(LibsnoreQt5 0.7.0 QUIET) set_package_properties(LibsnoreQt5 PROPERTIES TYPE OPTIONAL URL "https://projects.kde.org/projects/playground/libs/snorenotify" DESCRIPTION "a cross-platform notification framework" PURPOSE "Enable support for the snorenotify framework" ) + if(LibsnoreQt5_FOUND) + find_package(LibsnoreSettingsQt5) + set_package_properties(LibsnoreSettingsQt5 PROPERTIES TYPE REQUIRED + URL "https://projects.kde.org/projects/playground/libs/snorenotify" + DESCRIPTION "a cross-platform notification framework" + PURPOSE "Enable support for the snorenotify framework" + ) + endif() + if (WITH_WEBKIT) find_package(Qt5WebKit QUIET)