summaryrefslogtreecommitdiff
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmThirdPartyChecks.cmake8
-rw-r--r--Utilities/cmcurl/CMakeLists.txt10
2 files changed, 18 insertions, 0 deletions
diff --git a/Utilities/cmThirdPartyChecks.cmake b/Utilities/cmThirdPartyChecks.cmake
index c7b3c8a1b1..a38c10183c 100644
--- a/Utilities/cmThirdPartyChecks.cmake
+++ b/Utilities/cmThirdPartyChecks.cmake
@@ -10,6 +10,7 @@ set(HAVE_CTYPE_H 1)
set(HAVE_LOCALE_H 1)
set(HAVE_MEMMOVE 1)
set(HAVE_SETLOCALE 1)
+set(HAVE_SNPRINTF 1)
set(HAVE_STDDEF_H 1)
set(HAVE_STDIO_H 1)
set(HAVE_STDLIB_H 1)
@@ -76,6 +77,7 @@ if(WIN32)
set(HAVE_FUTIMENS 0)
set(HAVE_FUTIMES 0)
set(HAVE_FUTIMESAT 0)
+ set(HAVE_GETADDRINFO 1)
set(HAVE_GETEUID 0)
set(HAVE_GETGRGID_R 0)
set(HAVE_GETGRNAM_R 0)
@@ -98,6 +100,7 @@ if(WIN32)
set(HAVE_IDN2_H 0)
set(HAVE_IFADDRS_H 0)
set(HAVE_IF_NAMETOINDEX 0)
+ set(HAVE_INET_NTOP 1)
set(HAVE_INTTYPES_H 1)
set(HAVE_IOCTL 0)
set(HAVE_IOCTL_FIONBIO 0)
@@ -169,6 +172,7 @@ if(WIN32)
set(HAVE_SIGNAL_H 1)
set(HAVE_SIZEOF_ADDRESS_FAMILY 0)
set(HAVE_SIZEOF_SA_FAMILY_T 0)
+ set(HAVE_SOCKETPAIR 0)
set(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 0)
set(HAVE_SPAWN_H 0)
set(HAVE_SSL_H 0)
@@ -234,6 +238,10 @@ if(WIN32)
set(HAVE_WORKING_EXT2_IOC_GETFLAGS 0)
set(HAVE_WORKING_FS_IOC_GETFLAGS 0)
+ if(NOT MINGW)
+ set(HAVE_STRTOK_R 0)
+ endif()
+
# Some POSIX headers are available on Windows.
set(HAVE_SYS_TYPES_H 1)
set(HAVE_SYS_UTIME_H 1)
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 7e9aef0715..de5df3e4e3 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -5,6 +5,7 @@ set(BUILD_RELEASE_DEBUG_DIRS OFF CACHE INTERNAL "No curl release/debug dirs")
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "Build shared libraries")
set(CURL_USE_BEARSSL OFF)
set(CURL_USE_GSSAPI OFF)
+set(CURL_USE_LIBPSL OFF)
set(CURL_USE_LIBSSH2 OFF)
set(CURL_USE_LIBSSH OFF)
set(CURL_USE_MBEDTLS OFF)
@@ -65,6 +66,15 @@ set(ENABLE_MANUAL OFF CACHE INTERNAL "No curl built-in manual")
set(ENABLE_THREADED_RESOLVER OFF CACHE INTERNAL "No curl POSIX threaded DNS lookup")
set(ENABLE_UNICODE OFF)
set(ENABLE_UNIX_SOCKETS OFF CACHE INTERNAL "No curl Unix domain sockets support")
+set(ENABLE_WEBSOCKETS OFF)
+set(HAVE_ATOMIC 0)
+set(HAVE_BORINGSSL 0) # we do not need this info
+set(HAVE_MINGW_ORIGINAL 0) # we do not build on original MinGW anyway
+set(HAVE_RECV 1)
+set(HAVE_SEND 1)
+set(HAVE_STDATOMIC_H 0)
+set(HAVE_STRCASECMP 0) # we do not vendor the code that uses this
+set(HAVE_WIN32_WINNT 0) # we do not need this info
set(HTTP_ONLY OFF CACHE INTERNAL "Curl is not http-only")
set(PICKY_COMPILER OFF CACHE INTERNAL "Enable picky compiler options")
set(USE_LIBIDN2 ON)