From 08c8b9c6d63784f3db1fa3423e629db3ca461b94 Mon Sep 17 00:00:00 2001 From: Rahix Date: Sat, 17 Feb 2018 21:45:44 +0100 Subject: Implement notification sounds Add a new setting to toggle notification sounds on or off. Plays the systems default instant messaging message sound (message-new-instant) whenever a notification is shown if toggled on. --- cmake/FindCanberra.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmake/FindCanberra.cmake (limited to 'cmake') diff --git a/cmake/FindCanberra.cmake b/cmake/FindCanberra.cmake new file mode 100644 index 00000000..fbbe1fef --- /dev/null +++ b/cmake/FindCanberra.cmake @@ -0,0 +1,10 @@ +include(PkgConfigWithFallback) +find_pkg_config_with_fallback(Canberra + PKG_CONFIG_NAME libcanberra + LIB_NAMES canberra + INCLUDE_NAMES canberra.h +) + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(Canberra + REQUIRED_VARS Canberra_LIBRARY) -- cgit v1.2.3-70-g09d2