You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
788 B
26 lines
788 B
add_definitions(-DTRANSLATION_DOMAIN=\"plasma_engine_hotplug\") |
|
|
|
set(hotplug_engine_SRCS |
|
deviceaction.cpp |
|
deviceserviceaction.cpp |
|
hotplugengine.cpp |
|
hotplugservice.cpp |
|
hotplugjob.cpp |
|
) |
|
|
|
add_library(plasma_engine_hotplug MODULE ${hotplug_engine_SRCS}) |
|
target_link_libraries(plasma_engine_hotplug |
|
KF5::CoreAddons |
|
KF5::Plasma |
|
KF5::Solid |
|
KF5::Service |
|
KF5::KIOCore |
|
KF5::KIOWidgets |
|
KF5::I18n |
|
) |
|
|
|
kcoreaddons_desktop_to_json(plasma_engine_hotplug plasma-dataengine-hotplug.desktop) |
|
|
|
install(TARGETS plasma_engine_hotplug DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine) |
|
install(FILES plasma-dataengine-hotplug.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) |
|
install(FILES hotplug.operations DESTINATION ${PLASMA_DATA_INSTALL_DIR}/services)
|
|
|