aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CMakeLists.txt')
-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)