kdeconnect-kde/kcm/CMakeLists.txt
Alexander Lohnau fd681e62ab Port deprecated KCMultiDialog methods & embed json metadata in KCM
This KCM will have to get installed installed in the new plasma namespace eventually.
But considering that this app is part of the release service, we should not
depend on changes in a not yet released Plasma version.

Task: https://phabricator.kde.org/T14501
2021-12-15 08:24:22 +01:00

19 lines
494 B
CMake

add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-kcm")
add_library(kcm_kdeconnect MODULE kcm.cpp)
ki18n_wrap_ui(kcm_kdeconnect kcm.ui)
kcoreaddons_desktop_to_json(kcm_kdeconnect "kcm_kdeconnect.desktop")
target_link_libraries(kcm_kdeconnect
Qt5::Core
Qt5::Gui
KF5::I18n
KF5::KCMUtils
kdeconnectinterfaces
kdeconnectversion
)
install(TARGETS kcm_kdeconnect DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES kcm_kdeconnect.desktop DESTINATION ${SERVICES_INSTALL_DIR})