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
5393e45d
Commit
5393e45d
authored
Aug 17, 2022
by
Laurent Montel
Browse files
Use Qt:: directly
parent
a64fe770
Pipeline
#220093
passed with stage
in 3 minutes and 49 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/CMakeLists.txt
View file @
5393e45d
...
...
@@ -5,11 +5,11 @@ include(ECMAddTests)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
Test CONFIG REQUIRED
)
if
(
Ldap_FOUND
)
ecm_add_tests
(
testkldap.cpp NAME_PREFIX
"kldap-"
LINK_LIBRARIES KF5::Ldap Qt
${
QT_MAJOR_VERSION
}
::Test
)
ecm_add_tests
(
testkldap.cpp NAME_PREFIX
"kldap-"
LINK_LIBRARIES KF5::Ldap Qt::Test
)
endif
()
add_executable
(
ldapclientsearchconfigreadconfigjobtest ldapclientsearchconfigreadconfigjobtest.cpp
)
add_test
(
NAME ldapclientsearchconfigreadconfigjobtest COMMAND ldapclientsearchconfigreadconfigjobtest
)
ecm_mark_as_test
(
ldapclientsearchconfigreadconfigjobtest
)
target_link_libraries
(
ldapclientsearchconfigreadconfigjobtest Qt
${
QT_MAJOR_VERSION
}
::Test KF5::Ldap KF5::ConfigCore
)
target_link_libraries
(
ldapclientsearchconfigreadconfigjobtest Qt::Test KF5::Ldap KF5::ConfigCore
)
kioslave/src/CMakeLists.txt
View file @
5393e45d
...
...
@@ -9,7 +9,7 @@ ecm_qt_declare_logging_category(kio_ldap HEADER kldap_debug.h IDENTIFIER KLDAP_L
)
target_link_libraries
(
kio_ldap Qt
${
QT_MAJOR_VERSION
}
::Network KF5::KIOCore KF5::I18n KF5::Ldap
)
target_link_libraries
(
kio_ldap Qt::Network KF5::KIOCore KF5::I18n KF5::Ldap
)
if
(
WIN32
)
target_link_libraries
(
kio_ldap ws2_32
)
endif
()
...
...
src/CMakeLists.txt
View file @
5393e45d
...
...
@@ -103,7 +103,7 @@ generate_export_header(KF5Ldap BASE_NAME kldap)
target_link_libraries
(
KF5Ldap
PRIVATE
Qt
${
QT_MAJOR_VERSION
}
::Widgets
Qt::Widgets
KF5::I18n
KF5::WidgetsAddons
KF5::ConfigCore
...
...
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