Commit 1af42a7a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

install plugins in kf<version>

parent d3d532b3
Pipeline #131817 passed with stage
in 1 minute and 49 seconds
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: none
kcoreaddons_add_plugin(krunner_pimcontacts INSTALL_NAMESPACE "kf5/krunner")
configure_file(plasma-krunner-pimcontacts.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/plasma-krunner-pimcontacts.desktop @ONLY)
kcoreaddons_add_plugin(krunner_pimcontacts INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/krunner")
ecm_qt_declare_logging_category(krunner_pimcontacts HEADER akonadi_runner_debug.h
IDENTIFIER AKONADI_KRUNNER_LOG
......@@ -16,7 +16,7 @@ target_sources(krunner_pimcontacts PRIVATE
)
kcoreaddons_desktop_to_json(krunner_pimcontacts plasma-krunner-pimcontacts.desktop)
kcoreaddons_desktop_to_json(krunner_pimcontacts ${CMAKE_CURRENT_BINARY_DIR}/plasma-krunner-pimcontacts.desktop)
target_link_libraries(krunner_pimcontacts
KF5::Runner
KF5::AkonadiCore
......@@ -26,7 +26,7 @@ target_link_libraries(krunner_pimcontacts
KF5::Codecs
)
kcoreaddons_add_plugin(kcm_krunner_pimcontacts INSTALL_NAMESPACE "kf5/krunner/kcms")
kcoreaddons_add_plugin(kcm_krunner_pimcontacts INSTALL_NAMESPACE "kf${QT_MAJOR_VERSION}/krunner/kcms")
target_sources(kcm_krunner_pimcontacts PRIVATE
pimcontactsrunnerconfig.cpp
......
......@@ -88,4 +88,4 @@ X-KDE-PluginInfo-Name=PIM Contacts Search Runner
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-License=LGPL
X-KDE-PluginInfo-EnabledByDefault=true
X-KDE-ConfigModule=kf5/krunner/kcms/kcm_krunner_pimcontacts
X-KDE-ConfigModule=kf@QT_MAJOR_VERSION@/krunner/kcms/kcm_krunner_pimcontacts
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