From 81a2976123ac89d29628a610d3ac96f1d57beadd Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 16 Jan 2018 10:05:25 +0100 Subject: Some CMakeLists.txt optimizations. --- tests/dbus-types/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/dbus-types') diff --git a/tests/dbus-types/CMakeLists.txt b/tests/dbus-types/CMakeLists.txt index f669bca..5323f51 100644 --- a/tests/dbus-types/CMakeLists.txt +++ b/tests/dbus-types/CMakeLists.txt @@ -16,14 +16,13 @@ set_source_files_properties(${dbusinterface_accounts_xml} PROPERTIES if(EXISTS "/usr/share/accountsservice/interfaces/com.ubuntu.AccountsService.Sound.xml") set(dbusinterface_accountssound_xml "com.ubuntu.AccountsService.Sound.xml") - set_source_files_properties(${dbusinterface_accountssound_xml} PROPERTIES - CLASSNAME AccountsSoundInterface) else() set(dbusinterface_accountssound_xml "org.ayatana.AccountsService.Sound.xml") - set_source_files_properties(${dbusinterface_accountssound_xml} PROPERTIES - CLASSNAME AccountsSoundInterface) endif() +set_source_files_properties(${dbusinterface_accountssound_xml} PROPERTIES + CLASSNAME AccountsSoundInterface) + set(dbusinterface_properties_xml "org.freedesktop.DBus.Properties.xml") set_source_files_properties(${dbusinterface_properties_xml} PROPERTIES CLASSNAME DBusPropertiesInterface -- cgit v1.2.3