Commit fa4b8bbf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Install kio plugin in kf<version>

parent 168d957f
Pipeline #125532 failed with stage
in 1 minute and 9 seconds
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause
add_library(kio_ldap MODULE)
configure_file(ldap.json.cmake ${CMAKE_CURRENT_BINARY_DIR}/ldap.json )
target_sources(kio_ldap PRIVATE kio_ldap.cpp kio_ldap.h)
ecm_qt_declare_logging_category(kio_ldap HEADER kldap_debug.h IDENTIFIER KLDAP_LOG CATEGORY_NAME org.kde.pim.kldap
DESCRIPTION "kioslave (kldap)"
......@@ -15,4 +15,4 @@ if (WIN32)
target_link_libraries(kio_ldap ws2_32)
endif()
set_target_properties(kio_ldap PROPERTIES OUTPUT_NAME "ldap")
install(TARGETS kio_ldap DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio)
install(TARGETS kio_ldap DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf${QT_MAJOR_VERSION}/kio)
......@@ -5,7 +5,7 @@
"X-DocPath": "kioslave5/ldap/index.html",
"deleting": true,
"determineMimetypeFromExtension": false,
"exec": "kf5/kio/ldap",
"exec": "kf@QT_MAJOR_VERSION@/kio/ldap",
"input": "none",
"listing": [
"Name"
......@@ -21,7 +21,7 @@
"X-DocPath": "kioslave5/ldap/index.html",
"deleting": true,
"determineMimetypeFromExtension": false,
"exec": "kf5/kio/ldap",
"exec": "kf@QT_MAJOR_VERSION@/kio/ldap",
"input": "none",
"listing": [
"Name"
......
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