aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-22 10:50:31 +0100
committerRobert Tari <robert@tari.in>2021-11-22 10:50:31 +0100
commit8f2a75a073a716c00cd72a084771742a1db9f377 (patch)
tree7aef6dd0c8f4666afcbdf77b9642a0af0b2f93c8 /tests
parentffc328ce6df3511004a9bbb1b79f8465c386db69 (diff)
downloadayatana-indicator-datetime-8f2a75a073a716c00cd72a084771742a1db9f377.tar.gz
ayatana-indicator-datetime-8f2a75a073a716c00cd72a084771742a1db9f377.tar.bz2
ayatana-indicator-datetime-8f2a75a073a716c00cd72a084771742a1db9f377.zip
Check for the lomiri-sounds package
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cba60fb..082fd9a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -45,8 +45,10 @@ function(add_test_by_name name)
endfunction()
add_test_by_name(test-datetime)
if(HAS_LOMIRI_ACCTSERVICE_SOUND)
- add_test_by_name(test-sound)
- add_test_by_name(test-notification)
+ if(LOMIRI_SOUNDS_FOUND)
+ add_test_by_name(test-sound)
+ add_test_by_name(test-notification)
+ endif()
add_test_by_name(test-notification-response)
endif()
add_test_by_name(test-actions)