plasma-framework/examples/dataengines/sourcesOnRequest/CMakeLists.txt
2015-01-10 17:47:31 +00:00

17 lines
598 B
CMake

set(sourcesOnRequest_SRCS
sourcesOnRequest.cpp
)
add_library(plasma_dataengine_example_sourcesOnRequest MODULE ${sourcesOnRequest_SRCS})
kcoreaddons_desktop_to_json(plasma_dataengine_example_sourcesOnRequest plasma-dataengine-example-sourcesOnRequest.desktop)
target_link_libraries(plasma_dataengine_example_sourcesOnRequest
Qt5::Gui
KF5::Plasma
KF5::Service
)
install(TARGETS plasma_dataengine_example_sourcesOnRequest DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/dataengine)
install(FILES plasma-dataengine-example-sourcesOnRequest.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )