plasma-framework/examples/dataengines/sourcesOnRequest/CMakeLists.txt
Martin Klapetek 3214bd8132 Add KF5 prefix to plasma framework
This changes the lib name and package names to follow other frameworks

libFoo -> libKF5Foo
find_package(KFoo) -> find_package(KF5Foo)

REVIEW: 114389
2013-12-11 21:40:54 +01:00

16 lines
516 B
CMake

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