mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 06:18:17 +01:00
Remove obsolete qt_add_dbus_interface macro
This commit is contained in:
parent
4815dd78c1
commit
80d2fa48ec
@ -189,10 +189,6 @@ endif()
|
||||
find_package(Qt5LinguistTools REQUIRED)
|
||||
|
||||
if( UNIX AND NOT APPLE )
|
||||
macro(qt_add_dbus_interface)
|
||||
qt5_add_dbus_interface(${ARGN})
|
||||
endmacro()
|
||||
|
||||
macro(qt_add_dbus_adaptor)
|
||||
qt5_add_dbus_adaptor(${ARGN})
|
||||
endmacro()
|
||||
|
@ -3,7 +3,7 @@ SET(fdo_srcs
|
||||
fdonotify/ImageConverter.cpp
|
||||
)
|
||||
SET(FDO_LINK_LIBRARIES ${LINK_LIBRARIES})
|
||||
qt_add_dbus_interface(fdo_srcs fdonotify/org.freedesktop.Notifications.xml
|
||||
qt5_add_dbus_interface(fdo_srcs fdonotify/org.freedesktop.Notifications.xml
|
||||
FreedesktopNotificationsProxy)
|
||||
|
||||
tomahawk_add_plugin(fdonotify
|
||||
|
@ -6,12 +6,12 @@ FOREACH( _file ${_icons} )
|
||||
ENDFOREACH( _file )
|
||||
|
||||
IF( WITH_UPOWER )
|
||||
qt_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/org.freedesktop.UPower.xml" "UPowerProxy")
|
||||
qt5_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/org.freedesktop.UPower.xml" "UPowerProxy")
|
||||
SET( tomahawkSources ${tomahawkSources} linux/UPowerHandler.cpp )
|
||||
ENDIF( WITH_UPOWER )
|
||||
|
||||
IF( WITH_GNOMESHORTCUTHANDLER )
|
||||
qt_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/GnomeSettingsDaemonMediaKeys.xml" "GnomeSettingsDaemonMediaKeysProxy")
|
||||
qt5_add_dbus_interface(tomahawkSources "${CMAKE_CURRENT_SOURCE_DIR}/linux/GnomeSettingsDaemonMediaKeys.xml" "GnomeSettingsDaemonMediaKeysProxy")
|
||||
SET( tomahawkSources ${tomahawkSources} linux/GnomeShortcutHandler.cpp )
|
||||
ENDIF( WITH_GNOMESHORTCUTHANDLER )
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user