Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KIO Extras
Commits
b467a067
Commit
b467a067
authored
Sep 27, 2020
by
Stefan Brüns
Browse files
Make QTest dependency optional
Skip building the autotests in case QTest is not found.
parent
60a14242
Changes
1
Hide whitespace changes
Inline
Side-by-side
smb/kdsoap-ws-discovery-client/CMakeLists.txt
View file @
b467a067
...
...
@@ -32,7 +32,7 @@ include(KDECMakeSettings)
include
(
GenerateExportHeader
)
set
(
REQUIRED_QT_VERSION 5.9.0
)
find_package
(
Qt5
${
REQUIRED_QT_VERSION
}
REQUIRED NO_MODULE COMPONENTS Core Network
Test
Xml
)
find_package
(
Qt5
${
REQUIRED_QT_VERSION
}
REQUIRED NO_MODULE COMPONENTS Core Network Xml
)
find_package
(
KDSoap 1.9.0 REQUIRED
)
set_package_properties
(
KDSoap PROPERTIES
...
...
@@ -42,6 +42,10 @@ set_package_properties(KDSoap PROPERTIES
PURPOSE
"Support for SOAP client protocol"
)
if
(
BUILD_TESTING
)
find_package
(
Qt5
${
REQUIRED_QT_VERSION
}
CONFIG REQUIRED Test
)
endif
()
include
(
ECMSetupVersion
)
include
(
ECMGenerateHeaders
)
include
(
ECMQtDeclareLoggingCategory
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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