You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,14 +31,14 @@ option(USE_THREADS "Use threads for parallel processing when possibl
31
31
option(USE_NSEC "Support nanosecond precision file mtimes and ctimes"ON)
32
32
33
33
# Backend selection
34
-
option(USE_SSH "Enable SSH support. Can be set to a specific backend"OFF)
35
-
option(USE_HTTPS "Enable HTTPS support. Can be set to a specific backend"ON)
36
-
option(USE_SHA1 "Enable SHA1. Can be set to CollisionDetection(ON)/HTTPS"ON)
37
-
option(USE_SHA256 "Enable SHA256. Can be set to HTTPS/Builtin"ON)
38
-
option(USE_GSSAPI "Link with libgssapi for SPNEGO auth"OFF)
39
-
set(USE_HTTP_PARSER ""CACHESTRING"Specifies the HTTP Parser implementation; either system or builtin.")
34
+
set(USE_SSH ""CACHESTRING"Enables SSH support and optionally selects provider. One of ON, OFF, or a specific provider: libssh2 or exec. (Defaults to OFF.)")
35
+
set(USE_HTTPS ""CACHESTRING"Enable HTTPS support and optionally selects the provider. One of ON, OFF, or a specific provider: OpenSSL, OpenSSL-FIPS, OpenSSL-Dynamic, mbedTLS, SecureTransport, Schannel, or WinHTTP. (Defaults to ON.)")
36
+
set(USE_SHA1 ""CACHESTRING"Selects SHA1 provider. One of CollisionDetection, HTTPS, or a specific provider. (Defaults to CollisionDetection.)")
37
+
set(USE_SHA256 ""CACHESTRING"Selects SHA256 provider. One of Builtin, HTTPS, or a specific provider. (Defaults to HTTPS.)")
38
+
option(USE_GSSAPI "Enable SPNEGO authentication using GSSAPI"OFF)
39
+
set(USE_HTTP_PARSER ""CACHESTRING"Selects HTTP Parser support: http-parser, llhttp, or builtin. (Defaults to builtin.)")
40
40
# set(USE_XDIFF "" CACHE STRING "Specifies the xdiff implementation; either system or builtin.")
41
-
set(REGEX_BACKEND ""CACHESTRING"Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
41
+
set(REGEX_BACKEND ""CACHESTRING"Selects regex provider. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
42
42
option(USE_BUNDLED_ZLIB "Use the bundled version of zlib. Can be set to one of Bundled(ON)/Chromium. The Chromium option requires a x86_64 processor with SSE4.2 and CLMUL"OFF)
43
43
44
44
# Debugging options
@@ -54,11 +54,18 @@ option(SONAME "Set the (SO)VERSION of the target"
54
54
option(DEPRECATE_HARD "Do not include deprecated functions in the library"OFF)
55
55
56
56
# Compilation options
57
+
# Default to c99 on Android Studio for compatibility; c90 everywhere else
58
+
if("${CMAKE_SYSTEM_NAME}"STREQUAL"Android")
59
+
set(CMAKE_C_STANDARD "99"CACHESTRING"The C standard to compile against")
60
+
else()
61
+
set(CMAKE_C_STANDARD "90"CACHESTRING"The C standard to compile against")
62
+
endif()
63
+
option(CMAKE_C_EXTENSIONS "Whether compiler extensions are supported"OFF)
57
64
option(ENABLE_WERROR "Enable compilation with -Werror"OFF)
58
65
59
66
if(UNIX)
60
67
# NTLM client requires crypto libraries from the system HTTPS stack
61
-
if(NOTUSE_HTTPS)
68
+
if(USE_HTTPSSTREQUAL"OFF")
62
69
option(USE_NTLMCLIENT "Enable NTLM support on Unix."OFF)
63
70
else()
64
71
option(USE_NTLMCLIENT "Enable NTLM support on Unix."ON)
0 commit comments