cmake: require mbedtls 3.2.0

This commit is contained in:
Viktor Szakats 2025-08-12 12:29:27 +02:00
parent 8e9ff28726
commit 39bd192f79
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -802,6 +802,9 @@ endif()
if(CURL_USE_MBEDTLS)
find_package(MbedTLS REQUIRED)
if(MBEDTLS_VERSION VERSION_LESS 3.2.0)
message(FATAL_ERROR "mbedTLS v3.2.0 or newer is required.")
endif()
set(_ssl_enabled ON)
set(USE_MBEDTLS ON)
list(APPEND CURL_LIBS ${MBEDTLS_LIBRARIES})