aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 14:00:45 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 14:00:45 +0100
commit66412674cb282a7f0e0c8c29cfeb1d2f8c4c3de1 (patch)
treed377371e050c784e999a89e22e4ffd5eb6a3b44f
parent9f2212a9fe97d0ae970a60d3efb52132956b41e2 (diff)
downloadayatana-indicator-sound-66412674cb282a7f0e0c8c29cfeb1d2f8c4c3de1.tar.gz
ayatana-indicator-sound-66412674cb282a7f0e0c8c29cfeb1d2f8c4c3de1.tar.bz2
ayatana-indicator-sound-66412674cb282a7f0e0c8c29cfeb1d2f8c4c3de1.zip
b/tests/integration/indicator-sound-test-base.cpp: Tests against org.ayatana.sound on non-Ubuntu, against com.ubuntu.sound on Ubuntu.
-rw-r--r--tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index eb192ab..8666e6d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -17,6 +17,7 @@ set (XDG_DATA_DIRS "${CMAKE_CURRENT_BINARY_DIR}/gsettings-schemas")
set (SCHEMA_DIR "${XDG_DATA_DIRS}/glib-2.0/schemas")
if (EXISTS /usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml)
set (SOUND_SCHEMA /usr/share/glib-2.0/schemas/com.ubuntu.sound.gschema.xml)
+ add_definitions ( -DHAS_UBUNTU_SOUND_SCHEMA )
else()
set (SOUND_SCHEMA ${CMAKE_SOURCE_DIR}/data/org.ayatana.sound.gschema.xml)
endif()