aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-24 09:58:10 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-25 11:29:35 +0100
commit8e0988139aa78db19ad41594b7935016399fc44f (patch)
treec5207702d8f3869b7ab84b0b225c82fd4bd70c65 /tests
parent2c843c5bb9dd142eec5660bbc27067c769e0efb8 (diff)
downloadayatana-indicator-datetime-8e0988139aa78db19ad41594b7935016399fc44f.tar.gz
ayatana-indicator-datetime-8e0988139aa78db19ad41594b7935016399fc44f.tar.bz2
ayatana-indicator-datetime-8e0988139aa78db19ad41594b7935016399fc44f.zip
Check for lomiri-schemas package instead of individual files
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 3eb0b8a..7a6a301 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -44,7 +44,7 @@ function(add_test_by_name name)
target_link_libraries (${TEST_NAME} indicatordatetimeservice ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBRARIES} ${GMOCK_LIBRARIES} ${URLDISPATCHER_LIBRARIES})
endfunction()
add_test_by_name(test-datetime)
-if(HAS_LOMIRI_ACCTSERVICE_SOUND)
+if(LOMIRI_SCHEMAS_FOUND)
if(LOMIRI_SOUNDS_FOUND)
add_test_by_name(test-sound)
add_test_by_name(test-notification)
@@ -74,7 +74,7 @@ add_test_by_name(test-settings)
add_test_by_name(test-timezone-timedated)
add_test_by_name(test-utils)
-if(HAS_LOMIRI_ACCTSERVICE_SOUND)
+if(LOMIRI_SCHEMAS_FOUND)
set (TEST_NAME manual-test-snap)
set (COVERAGE_TEST_TARGETS ${COVERAGE_TEST_TARGETS} ${TEST_NAME})
add_executable (${TEST_NAME} ${TEST_NAME}.cpp)