Commit da3511c5 authored by Alexander Lohnau's avatar Alexander Lohnau 💬 Committed by Laurent Montel
Browse files

Utilize kcoreaddons_add_plugin for KRunner plugin and it's KCM

parent 03bb48c9
Pipeline #121638 passed with stage
in 3 minutes and 37 seconds
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none
add_library(krunner_pimcontacts MODULE)
kcoreaddons_add_plugin(krunner_pimcontacts INSTALL_NAMESPACE "kf5/krunner")
ecm_qt_declare_logging_category(krunner_pimcontacts HEADER akonadi_runner_debug.h
IDENTIFIER AKONADI_KRUNNER_LOG
......@@ -26,8 +26,8 @@ target_link_libraries(krunner_pimcontacts
KF5::Codecs
)
########################
add_library(kcm_krunner_pimcontacts MODULE)
kcoreaddons_add_plugin(kcm_krunner_pimcontacts INSTALL_NAMESPACE "kf5/krunner/kcms")
target_sources(kcm_krunner_pimcontacts PRIVATE
pimcontactsrunnerconfig.cpp
pimcontactsrunnerconfig.h
......@@ -38,9 +38,3 @@ target_link_libraries(kcm_krunner_pimcontacts
KF5::KCMUtils
KF5::I18n
)
install(TARGETS krunner_pimcontacts DESTINATION "${KDE_INSTALL_PLUGINDIR}/kf5/krunner")
install(TARGETS
kcm_krunner_pimcontacts
DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/krunner/kcms
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment