Use kcoreaddons_desktop_to_json instead.

This commit is contained in:
Teo Mrnjavac 2015-02-03 20:18:40 +01:00
parent aa132e1cdb
commit 69e411a6d6
2 changed files with 4 additions and 4 deletions

View File

@ -22,6 +22,6 @@ add_library(pmdummybackendplugin SHARED ${pmdummybackendplugin_SRCS})
target_link_libraries(pmdummybackendplugin partitionmanagerprivate KF5::KIOCore ${LIBPARTED_LIBS} ${BLKID_LIBRARIES} KF5::Solid)
install(TARGETS pmdummybackendplugin DESTINATION ${PLUGIN_INSTALL_DIR})
kservice_desktop_to_json(pmdummybackendplugin pmdummybackendplugin.desktop)
install(FILES pmdummybackendplugin.json DESTINATION ${SERVICES_INSTALL_DIR})
kcoreaddons_desktop_to_json(pmdummybackendplugin pmdummybackendplugin.desktop)
install(FILES pmdummybackendplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})

View File

@ -34,5 +34,5 @@ add_library(pmlibpartedbackendplugin SHARED ${pmlibpartedbackendplugin_SRCS})
target_link_libraries(pmlibpartedbackendplugin partitionmanagerprivate ${LIBPARTED_LIBS} ${BLKID_LIBRARIES} KF5::KIOCore)
install(TARGETS pmlibpartedbackendplugin DESTINATION ${PLUGIN_INSTALL_DIR})
kservice_desktop_to_json(pmlibpartedbackendplugin pmlibpartedbackendplugin.desktop)
install(FILES pmlibpartedbackendplugin.json DESTINATION ${SERVICES_INSTALL_DIR})
kcoreaddons_desktop_to_json(pmlibpartedbackendplugin pmlibpartedbackendplugin.desktop)
install(FILES pmlibpartedbackendplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})