Commit 212285fa authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to add extra subdir

parent ceb3e5aa
Pipeline #63244 passed with stage
in 4 minutes and 46 seconds
add_subdirectory(ldap)
add_library(kio_ldap MODULE)
target_sources(kio_ldap PRIVATE kio_ldap.cpp)
ecm_qt_declare_logging_category(kio_ldap HEADER kldap_debug.h IDENTIFIER KLDAP_LOG CATEGORY_NAME org.kde.pim.kldap
DESCRIPTION "kioslave (kldap)"
OLD_CATEGORY_NAMES log_kldap
EXPORT KLDAP
)
target_link_libraries(kio_ldap Qt::Network KF5::KIOCore KF5::I18n KF5::Ldap)
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 files ###############
install( FILES ldap.protocol ldaps.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
......@@ -45,4 +45,3 @@ private:
void LDAPErr(int err = KLDAP_SUCCESS);
void changeCheck(const KLDAP::LdapUrl &url);
};
add_library(kio_ldap MODULE)
target_sources(kio_ldap PRIVATE kio_ldap.cpp)
ecm_qt_declare_logging_category(kio_ldap HEADER kldap_debug.h IDENTIFIER KLDAP_LOG CATEGORY_NAME org.kde.pim.kldap
DESCRIPTION "kioslave (kldap)"
OLD_CATEGORY_NAMES log_kldap
EXPORT KLDAP
)
target_link_libraries(kio_ldap Qt::Network KF5::KIOCore KF5::I18n KF5::Ldap)
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 files ###############
install( FILES ldap.protocol ldaps.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
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