Changeset View
Changeset View
Standalone View
Standalone View
dataengines/devicenotifications/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_devicenotifications\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_devicenotifications\") | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | set(device_notifications_engine_SRCS | 3 | set(device_notifications_engine_SRCS | ||
4 | devicenotificationsengine.cpp | 4 | devicenotificationsengine.cpp | ||
5 | ksolidnotify.cpp | 5 | ksolidnotify.cpp | ||
6 | ) | 6 | ) | ||
7 | 7 | | |||
8 | add_library(plasma_engine_devicenotifications MODULE ${device_notifications_engine_SRCS}) | 8 | add_library(plasma_engine_devicenotifications MODULE ${device_notifications_engine_SRCS}) | ||
9 | 9 | | |||
10 | target_link_libraries(plasma_engine_devicenotifications | 10 | target_link_libraries(plasma_engine_devicenotifications | ||
11 | KF5::Service | 11 | KF5::Service | ||
12 | KF5::Plasma | 12 | KF5::Plasma | ||
13 | KF5::Solid | 13 | KF5::Solid | ||
14 | KF5::I18n | 14 | KF5::I18n | ||
15 | KF5::ProcessCore | 15 | KSysGuard::ProcessCore | ||
16 | ) # todo: add kworkspace once ported | 16 | ) # todo: add kworkspace once ported | ||
17 | 17 | | |||
18 | kcoreaddons_desktop_to_json(plasma_engine_devicenotifications plasma-dataengine-devicenotifications.desktop) | 18 | kcoreaddons_desktop_to_json(plasma_engine_devicenotifications plasma-dataengine-devicenotifications.desktop) | ||
19 | 19 | | |||
20 | install(TARGETS plasma_engine_devicenotifications DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | 20 | install(TARGETS plasma_engine_devicenotifications DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) | ||
21 | install(FILES plasma-dataengine-devicenotifications.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) | 21 | install(FILES plasma-dataengine-devicenotifications.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |