plasma-framework/examples/dataengines/sourcesOnRequest/CMakeLists.txt
2014-02-10 19:16:44 +01:00

16 lines
576 B
CMake

set(sourcesOnRequest_SRCS
sourcesOnRequest.cpp
)
add_library(plasma_dataengine_example_sourcesOnRequest MODULE ${sourcesOnRequest_SRCS})
kservice_desktop_to_json(plasma_dataengine_example_sourcesOnRequest plasma-dataengine-example-sourcesOnRequest.desktop)
target_link_libraries(plasma_dataengine_example_sourcesOnRequest
KF5::Plasma
KF5::Service
)
install(TARGETS plasma_dataengine_example_sourcesOnRequest DESTINATION ${PLUGIN_INSTALL_DIR}/plasma/dataengine)
install(FILES plasma-dataengine-example-sourcesOnRequest.desktop DESTINATION ${SERVICES_INSTALL_DIR} )