diff options
author | Rahix <rahix@rahix.de> | 2018-02-17 21:45:44 +0100 |
---|---|---|
committer | Rahix <rahix@rahix.de> | 2018-02-17 21:51:02 +0100 |
commit | 08c8b9c6d63784f3db1fa3423e629db3ca461b94 (patch) | |
tree | a2a2cc5667e3c10f5d4f5314c253fba2e0b335c6 /cmake | |
parent | 5436d716c0f508eb8ab70f322da862f996ce421e (diff) | |
download | dino-08c8b9c6d63784f3db1fa3423e629db3ca461b94.tar.gz dino-08c8b9c6d63784f3db1fa3423e629db3ca461b94.zip |
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.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindCanberra.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
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) |