diff options
author | Brad King <brad.king@kitware.com> | 2023-10-12 15:42:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-12 19:29:34 (GMT) |
commit | 8a9fa27a35da9e098bf79991227db7a941a215cc (patch) | |
tree | 21fa0118af400fb943f4949dde853271891077b4 /Utilities | |
parent | df4efb72e4225dc3fd4f32313bc8b19122a98f66 (diff) | |
download | CMake-8a9fa27a35da9e098bf79991227db7a941a215cc.zip CMake-8a9fa27a35da9e098bf79991227db7a941a215cc.tar.gz CMake-8a9fa27a35da9e098bf79991227db7a941a215cc.tar.bz2 |
curl: Set build options the way we need for CMake
Set options added by the update to curl 8.4.0.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |