CMake: Only build ssl tests if the feature was enabled

Pick-to: 6.4
Task-number: QTBUG-107538
Change-Id: If2d473fbf8240b356d226be7bc4058506149a0e6
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Alexandru Croitor 2022-10-11 10:56:19 +02:00
parent 5b7f8fa986
commit a6b430337c

View File

@ -4,10 +4,10 @@
# Generated from ssl.pro.
add_subdirectory(qpassworddigestor)
add_subdirectory(qsslcertificate)
add_subdirectory(qsslcipher)
add_subdirectory(qsslellipticcurve)
if(QT_FEATURE_ssl)
add_subdirectory(qsslcertificate)
add_subdirectory(qsslcipher)
add_subdirectory(qsslellipticcurve)
add_subdirectory(qsslkey)
add_subdirectory(qsslerror)
endif()