aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-28 10:05:11 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-28 10:05:11 +0000
commit448c99da58d838739ce51eb6ca8ff0c79db133e8 (patch)
treead265e7582169a0835afa943f132e228f3186b81
parentcc4821ae3e9f191da75ccee1913c87c1bd49b9a3 (diff)
downloadayatana-indicator-datetime-448c99da58d838739ce51eb6ca8ff0c79db133e8.tar.gz
ayatana-indicator-datetime-448c99da58d838739ce51eb6ca8ff0c79db133e8.tar.bz2
ayatana-indicator-datetime-448c99da58d838739ce51eb6ca8ff0c79db133e8.zip
tests/CMakeLists.txt: Only build manual-test-snap on Ubuntu.
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cce094c..de9bfdc 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -64,9 +64,11 @@ add_test_by_name(test-settings)
add_test_by_name(test-timezone-timedated)
add_test_by_name(test-utils)
-set (TEST_NAME manual-test-snap)
-add_executable (${TEST_NAME} ${TEST_NAME}.cpp)
-target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS})
+if(HAVE_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS)
+ set (TEST_NAME manual-test-snap)
+ add_executable (${TEST_NAME} ${TEST_NAME}.cpp)
+ target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS})
+endif()
if (URLDISPATCHER_FOUND)