Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
4d7e5549
Commit
4d7e5549
authored
Mar 01, 2022
by
Laurent Montel
Browse files
Simplify qt5/qt6 build
parent
e55d37ab
Pipeline
#143753
passed with stage
in 2 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
4d7e5549
...
...
@@ -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>"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment