From 8a9fa27a35da9e098bf79991227db7a941a215cc Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 12 Oct 2023 11:42:20 -0400 Subject: curl: Set build options the way we need for CMake Set options added by the update to curl 8.4.0. --- Utilities/cmcurl/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 04efc50..9387247 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -54,6 +54,7 @@ set(CURL_DISABLE_SHUFFLE_DNS OFF) set(CURL_DISABLE_SMB OFF) set(CURL_DISABLE_SMTP ON CACHE INTERNAL "Disable curl smtp protocol?") set(CURL_DISABLE_SOCKETPAIR OFF) +set(CURL_DISABLE_SRP OFF) set(CURL_DISABLE_TELNET ON CACHE INTERNAL "Disable curl telnet protocol?") set(CURL_DISABLE_TFTP ON CACHE INTERNAL "Disable curl tftp protocol?") set(CURL_DISABLE_VERBOSE_STRINGS OFF CACHE INTERNAL "Do not disable curl verbosity") @@ -1453,6 +1454,7 @@ if(WIN32) unset(HAVE_WIN32_WINNT CACHE) endif() +if(0) # This code not needed for building within CMake. if(NOT WIN32 AND NOT CMAKE_CROSSCOMPILING) # on not-Windows and not-crosscompiling, check for writable argv[] include(CheckCSourceRuns) @@ -1464,6 +1466,7 @@ if(NOT WIN32 AND NOT CMAKE_CROSSCOMPILING) return (argv[0][0] == ' ')?0:1; }" HAVE_WRITABLE_ARGV) endif() +endif() set(CMAKE_REQUIRED_FLAGS) -- cgit v0.12