Changeset View
Changeset View
Standalone View
Standalone View
plugins/battery/CMakeLists.txt
1 | find_package(KF5 REQUIRED COMPONENTS Notifications) | | |||
---|---|---|---|---|---|
2 | 1 | | |||
3 | set(kdeconnect_battery_SRCS | 2 | set(kdeconnect_battery_SRCS | ||
4 | batteryplugin.cpp | 3 | batteryplugin.cpp | ||
5 | batterydbusinterface.cpp | 4 | batterydbusinterface.cpp | ||
6 | ) | 5 | ) | ||
7 | 6 | | |||
8 | kdeconnect_add_plugin(kdeconnect_battery JSON kdeconnect_battery.json SOURCES ${kdeconnect_battery_SRCS}) | 7 | kdeconnect_add_plugin(kdeconnect_battery JSON kdeconnect_battery.json SOURCES ${kdeconnect_battery_SRCS}) | ||
9 | 8 | | |||
10 | target_link_libraries(kdeconnect_battery | 9 | target_link_libraries(kdeconnect_battery | ||
11 | kdeconnectcore | 10 | kdeconnectcore | ||
12 | Qt5::DBus | 11 | Qt5::DBus | ||
12 | Qt5::Gui | ||||
13 | KF5::I18n | 13 | KF5::I18n | ||
14 | KF5::Notifications | | |||
15 | ) | 14 | ) |