diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c56d59..7943c1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,6 @@ include(FeatureSummary) ####################################################################### option(WITH_FRONTENDS "Build frontends currently only useful if WITH_SNORE_DAEMON=ON" OFF) option(WITH_SNORE_DAEMON "Build the Snore daemon, which redirects notifications" OFF) -option(WITH_FREEDESKTOP_FRONTEND "Build the freedesktop frontend" OFF) ####################################################################### set(SNORE_VERSION_MAJOR 0) diff --git a/src/plugins/frontends/freedesktop/CMakeLists.txt b/src/plugins/frontends/freedesktop/CMakeLists.txt index 83a4e89..6388b60 100644 --- a/src/plugins/frontends/freedesktop/CMakeLists.txt +++ b/src/plugins/frontends/freedesktop/CMakeLists.txt @@ -1,4 +1,4 @@ -if(WITH_FREEDESKTOP_FRONTEND) +if(WIN32 OR APPLE) find_package(Qt5DBus QUIET) set_package_properties(Qt5DBus PROPERTIES PURPOSE "Support for Freedesktop Notifications"