2013-08-13 23:03:46 +01:00
|
|
|
set(kdeconnect_battery_SRCS
|
|
|
|
batteryplugin.cpp
|
|
|
|
batterydbusinterface.cpp
|
2013-08-12 15:09:52 +01:00
|
|
|
)
|
|
|
|
|
2014-06-16 19:02:07 +01:00
|
|
|
add_library(kdeconnect_battery MODULE ${kdeconnect_battery_SRCS})
|
2013-08-13 23:03:46 +01:00
|
|
|
|
2014-09-22 08:16:17 +01:00
|
|
|
target_link_libraries(kdeconnect_battery
|
|
|
|
kdeconnectcore
|
|
|
|
Qt5::DBus
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
|
|
|
KF5::Notifications
|
|
|
|
)
|
2013-08-13 23:03:46 +01:00
|
|
|
|
|
|
|
install(TARGETS kdeconnect_battery DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
install(FILES kdeconnect_battery.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
|
2014-11-10 06:10:51 +00:00
|
|
|
include(DbusInterfaceMacros)
|
2013-08-13 23:03:46 +01:00
|
|
|
|
2013-08-12 15:09:52 +01:00
|
|
|
generate_and_install_dbus_interface(
|
2013-08-13 23:03:46 +01:00
|
|
|
kdeconnect_battery
|
|
|
|
batterydbusinterface.h
|
|
|
|
org.kde.kdeconnect.device.battery.xml
|
2013-08-12 15:09:52 +01:00
|
|
|
OPTIONS -a
|
|
|
|
)
|