d5bef21f7b
This is in line with the frameworks naming policy, camelcasing. Up until now, libplasma was the only library being KF5::plasma, that is now KF5::Plasma.
17 lines
507 B
CMake
17 lines
507 B
CMake
set(simpleEngine_SRCS
|
|
simpleEngine.cpp
|
|
)
|
|
|
|
kservice_desktop_to_json(plasma-dataengine-example-simpleEngine.desktop)
|
|
|
|
plasma_add_plugin(plasma_dataengine_example_simpleEngine ${simpleEngine_SRCS})
|
|
|
|
target_link_libraries(plasma_dataengine_example_simpleEngine
|
|
Plasma
|
|
${KService_LIBRARIES}
|
|
${KI18n_LIBRARIES}
|
|
)
|
|
|
|
install(TARGETS plasma_dataengine_example_simpleEngine DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
install(FILES plasma-dataengine-example-simpleEngine.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|