Skip to content

Commit

Permalink
CMake: Only build ssl tests if the feature was enabled
Browse files Browse the repository at this point in the history
Pick-to: 6.4
Task-number: QTBUG-107538
Change-Id: If2d473fbf8240b356d226be7bc4058506149a0e6
Reviewed-by: Alexey Edelev <[email protected]>
  • Loading branch information
alcroito committed Oct 11, 2022
1 parent 5b7f8fa commit a6b4303
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/auto/network/ssl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a6b4303

Please sign in to comment.