diff options
author | Robert Tari <robert@tari.in> | 2021-12-16 13:16:20 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-02-17 16:49:35 +0100 |
commit | 61d803b7701f030f5f8e1bf1f0b183056ee4dfc4 (patch) | |
tree | 6960ca929e5db71b44256ae3901e5078b6125625 /tests/dbus-types | |
parent | 111165eede28d96c9687c93999d528d39a5a2954 (diff) | |
download | ayatana-indicator-sound-61d803b7701f030f5f8e1bf1f0b183056ee4dfc4.tar.gz ayatana-indicator-sound-61d803b7701f030f5f8e1bf1f0b183056ee4dfc4.tar.bz2 ayatana-indicator-sound-61d803b7701f030f5f8e1bf1f0b183056ee4dfc4.zip |
Make Lomiri features configurable at build time
Diffstat (limited to 'tests/dbus-types')
-rw-r--r-- | tests/dbus-types/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbus-types/CMakeLists.txt b/tests/dbus-types/CMakeLists.txt index c872635..9c2e679 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(LOMIRI_SCHEMAS_FOUND) +if(ENABLE_LOMIRI_FEATURES) set_source_files_properties("com.lomiri.AccountsService.Sound.xml" PROPERTIES CLASSNAME AccountsSoundInterface) endif() @@ -38,8 +38,8 @@ 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(LOMIRI_SCHEMAS_FOUND) - qt5_add_dbus_interface("com.lomiri.AccountsService.Sound.xml" dbus_accountssound_interface) +if(ENABLE_LOMIRI_FEATURES) + qt5_add_dbus_interface(interface_files "com.lomiri.AccountsService.Sound.xml" dbus_accountssound_interface) endif() qt5_add_dbus_interface(interface_files ${dbusinterface_actions_xml} dbus_menus_interface) |