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-06-14 13:31:31 +01:00
|
|
|
target_link_libraries(kdeconnect_battery kdeconnectcore ${KDE4_KDEUI_LIBS})
|
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-06-14 15:34:00 +01:00
|
|
|
include(macros)
|
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
|
|
|
|
)
|