aboutsummaryrefslogtreecommitdiff
path: root/tests/dbus-types
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-17 13:24:12 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-17 13:24:12 +0100
commit7b42e44ab6c32acba50a39d89e18e15d8507582c (patch)
treea603306b2a6ba80ca8053e48b18deccc1ee37cf5 /tests/dbus-types
parent425c531ba241415514743f7cc6dae8c17683cb9f (diff)
parent88e440bb1689063c6d47ac7a4965eb597a8ec9cb (diff)
downloadayatana-indicator-sound-7b42e44ab6c32acba50a39d89e18e15d8507582c.tar.gz
ayatana-indicator-sound-7b42e44ab6c32acba50a39d89e18e15d8507582c.tar.bz2
ayatana-indicator-sound-7b42e44ab6c32acba50a39d89e18e15d8507582c.zip
Merge branch 'tari01-pr/refactor-schema-detection'
Attributes GH PR #66: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/66
Diffstat (limited to 'tests/dbus-types')
-rw-r--r--tests/dbus-types/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dbus-types/CMakeLists.txt b/tests/dbus-types/CMakeLists.txt
index 1b6faed..9d7d3a2 100644
--- a/tests/dbus-types/CMakeLists.txt
+++ b/tests/dbus-types/CMakeLists.txt
@@ -14,7 +14,7 @@ set(dbusinterface_accounts_xml "org.freedesktop.Accounts.xml")
set_source_files_properties(${dbusinterface_accounts_xml} PROPERTIES
CLASSNAME AccountsInterface)
-if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
+if(LOMIRI_SCHEMAS_FOUND)
set_source_files_properties("com.lomiri.AccountsService.Sound.xml" PROPERTIES
CLASSNAME AccountsSoundInterface)
endif()
@@ -38,7 +38,7 @@ qt5_add_dbus_interface(interface_files ${dbusinterface_streamrestore_xml} stream
qt5_add_dbus_interface(interface_files ${dbusinterface_properties_xml} dbus_properties_interface)
qt5_add_dbus_interface(interface_files ${dbusinterface_accounts_xml} dbus_accounts_interface)
-if(EXISTS "/usr/share/accountsservice/interfaces/com.lomiri.AccountsService.Sound.xml")
+if(LOMIRI_SCHEMAS_FOUND)
qt5_add_dbus_interface("com.lomiri.AccountsService.Sound.xml" dbus_accountssound_interface)
endif()