mirror of
https://github.com/curl/curl.git
synced 2026-06-09 00:54:20 +03:00
cmake: require mbedtls 3.2.0
This commit is contained in:
parent
8e9ff28726
commit
39bd192f79
1 changed files with 3 additions and 0 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue