Fix tst_qsslkey to compile when SSL is disabled

Move it to the section requiring SSL tests since it
requires QSslConfiguration.

Change-Id: I5c807976ce75fa5967bddb8edd7788dbfbb89375
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Friedemann Kleint 2020-10-21 12:40:22 +02:00
parent 6681fa7b73
commit f6d09d426b
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,9 @@ add_subdirectory(qsslcertificate)
add_subdirectory(qsslcipher)
add_subdirectory(qsslellipticcurve)
add_subdirectory(qsslerror)
add_subdirectory(qsslkey)
if(QT_FEATURE_ssl)
add_subdirectory(qsslkey)
endif()
if(QT_FEATURE_private_tests AND QT_FEATURE_ssl)
add_subdirectory(qsslsocket)
add_subdirectory(qsslsocket_onDemandCertificates_member)

View File

@ -6,10 +6,10 @@ SUBDIRS=\
qsslcertificate \
qsslcipher \
qsslellipticcurve \
qsslerror \
qsslkey \
qsslerror
qtConfig(ssl) {
SUBDIRS += qsslkey
qtConfig(private_tests) {
SUBDIRS += \
qsslsocket \