kdeconnect-kde/plugins/battery/CMakeLists.txt
Alexander Lohnau a1195a72a3 Use versionless Qt targets where possible
We depend on 5.15 which allows us to use those
2023-07-25 18:29:38 +02:00

13 lines
473 B
CMake

kdeconnect_add_plugin(kdeconnect_battery SOURCES batteryplugin.cpp)
ecm_qt_declare_logging_category(kdeconnect_battery
HEADER plugin_battery_debug.h
IDENTIFIER KDECONNECT_PLUGIN_BATTERY CATEGORY_NAME kdeconnect.plugin.battery
DEFAULT_SEVERITY Warning
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin battery)")
target_link_libraries(kdeconnect_battery
kdeconnectcore
Qt::DBus
KF${QT_MAJOR_VERSION}::Solid
KF${QT_MAJOR_VERSION}::I18n
)