Commit 4d7e5549 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Simplify qt5/qt6 build

parent e55d37ab
Pipeline #143753 passed with stage
in 2 minutes and 6 seconds
......@@ -115,11 +115,7 @@ PRIVATE
${kldap_EXTRA_LIBS}
)
if (QT_MAJOR_VERSION STREQUAL "6")
target_link_libraries(KF5Ldap PRIVATE qt6keychain)
else()
target_link_libraries(KF5Ldap PRIVATE qt5keychain)
endif()
target_link_libraries(KF5Ldap PRIVATE qt${QT_MAJOR_VERSION}keychain)
target_include_directories(KF5Ldap INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF}/KLDAP>")
target_include_directories(KF5Ldap PUBLIC "$<BUILD_INTERFACE:${KLdap_SOURCE_DIR}/src/core;${KLdap_BINARY_DIR}/src>")
......
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