2020-05-26 17:55:47 +01:00
|
|
|
set(debug_file_SRCS)
|
|
|
|
ecm_qt_declare_logging_category(
|
|
|
|
debug_file_SRCS HEADER plugin_battery_debug.h
|
|
|
|
IDENTIFIER KDECONNECT_PLUGIN_BATTERY CATEGORY_NAME kdeconnect.plugin.battery
|
|
|
|
DEFAULT_SEVERITY Warning
|
|
|
|
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin battery)")
|
|
|
|
|
2013-08-13 23:03:46 +01:00
|
|
|
set(kdeconnect_battery_SRCS
|
|
|
|
batteryplugin.cpp
|
2020-05-26 17:55:47 +01:00
|
|
|
${debug_file_SRCS}
|
2013-08-12 15:09:52 +01:00
|
|
|
)
|
|
|
|
|
2021-06-28 19:33:52 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_battery SOURCES ${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
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt${QT_MAJOR_VERSION}::DBus
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::Solid
|
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
2014-09-22 08:16:17 +01:00
|
|
|
)
|