From 9f399e741c3065d7b01aa27969e998ff58d7cf97 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 5 Apr 2024 12:59:45 -0400 Subject: curl: Set build options the way we need for CMake Set options added by the update to curl 8.7.1. --- Utilities/cmcurl/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 74c75be..21601e9 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -93,6 +93,7 @@ set(SHARE_LIB_OBJECT OFF) set(USE_LIBIDN2 ON) set(USE_NGHTTP2 ON) set(USE_NGTCP2 OFF) +set(USE_OPENSSL_QUIC OFF) set(USE_QUICHE OFF) set(USE_WIN32_IDN OFF) set(USE_WIN32_LDAP OFF CACHE INTERNAL "No curl Windows LDAP") @@ -909,11 +910,13 @@ if(USE_OPENSSL_QUIC) list(APPEND CURL_LIBS ${NGHTTP3_LIBRARIES}) endif() +if(0) # This code not needed for building within CMake. if(USE_MBEDTLS OR USE_BEARSSL OR USE_SECTRANSP) message(WARNING "A selected TLS library does not support TLS 1.3.") endif() +endif() if(CURL_WITH_MULTI_SSL AND (USE_NGTCP2 OR USE_QUICHE OR USE_MSH3 OR USE_OPENSSL_QUIC)) message(FATAL_ERROR "MultiSSL cannot be enabled with HTTP/3 and vice versa.") -- cgit v0.12