Skip to content

Commit f4e2517

Browse files
require openssl 3 for newer curl
1 parent ed16a82 commit f4e2517

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/curl.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ endif()
2424
if(OWN_CURL_SOURCE_DIR)
2525
set(CURL_EXT_PROPERTIES SOURCE_DIR ${OWN_CURL_SOURCE_DIR})
2626
else()
27-
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.18")
27+
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.18" AND OpenSSL_VERSION VERSION_GREATER_EQUAL "3.0.0")
2828
set(CURL_EXT_PROPERTIES URL "https://curl.se/download/curl-8.21.0.tar.gz")
2929
else()
3030
set(CURL_EXT_PROPERTIES URL "https://curl.se/download/curl-8.0.1.tar.gz")

0 commit comments

Comments
 (0)