Update to new kservice_desktop_to_json syntax

This commit is contained in:
Aurélien Gâteau 2014-02-10 18:52:01 +01:00
parent 4e13ce6966
commit 20def71cdc
3 changed files with 7 additions and 6 deletions

View File

@ -3,9 +3,10 @@ set(customDataContainers_SRCS
httpContainer.cpp
)
kservice_desktop_to_json(plasma-dataengine-example-customDataContainers.desktop)
add_library(plasma_dataengine_example_customDataContainers MODULE ${customDataContainers_SRCS})
kservice_desktop_to_json(plasma_dataengine_example_customDataContainers plasma-dataengine-example-customDataContainers.desktop)
target_link_libraries(plasma_dataengine_example_customDataContainers
KF5::Plasma
KF5::KIOCore

View File

@ -2,10 +2,10 @@ set(simpleEngine_SRCS
simpleEngine.cpp
)
kservice_desktop_to_json(plasma-dataengine-example-simpleEngine.desktop)
add_library(plasma_dataengine_example_simpleEngine MODULE ${simpleEngine_SRCS})
kservice_desktop_to_json(plasma_dataengine_example_simpleEngine plasma-dataengine-example-simpleEngine.desktop)
target_link_libraries(plasma_dataengine_example_simpleEngine
KF5::Plasma
KF5::Service

View File

@ -2,10 +2,10 @@ set(sourcesOnRequest_SRCS
sourcesOnRequest.cpp
)
kservice_desktop_to_json(plasma-dataengine-example-sourcesOnRequest.desktop)
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