X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=47a672e7c2b3048ffac5655ecbf6cf22a44c2e94;hp=fb0cd29416399667444bfd608530a85c6ef8908e;hb=f8ac74fd09451dcb61f34730f5f605f0fadbb9e8;hpb=307a54f216ad4510ec8e53cb85cf3f679dfb44c5 diff --git a/CMakeLists.txt b/CMakeLists.txt index fb0cd294..47a672e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,7 +173,7 @@ if(USE_QT5) PURPOSE "Needed for supporting D-Bus-based notifications and tray icon, used by most modern desktop environments" ) if (Qt5DBus_FOUND) - find_package(dbusmenu-qt5 QUIET) + find_package(dbusmenu-qt5 QUIET CONFIG) set_package_properties(dbusmenu-qt5 PROPERTIES TYPE RECOMMENDED URL "https://launchpad.net/libdbusmenu-qt" DESCRIPTION "a library implementing the DBusMenu specification" @@ -243,7 +243,7 @@ else(USE_QT5) if (BUILD_GUI) add_feature_info("QtDBus module" QT_QTDBUS_FOUND "Needed for supporting D-Bus-based notifications and tray icon, used by most modern desktop environments") if (QT_QTDBUS_FOUND) - find_package(libdbusmenu-qt QUIET) + find_package(dbusmenu-qt QUIET CONFIG) set_package_properties(dbusmenu-qt PROPERTIES TYPE RECOMMENDED URL "https://launchpad.net/libdbusmenu-qt" DESCRIPTION "a library implementing the DBusMenu specification"