diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-03-03 00:25:44 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-03-03 15:17:07 -0500 |
commit | e4b4ccbc67219908fa2bb1fde8f2b971b05f25d5 (patch) | |
tree | a59124458224e9d2babcc2c850d915251b04de2d /CMakeLists.txt | |
parent | 119ea453f9c9854feac09d86039334d6aeb40fcf (diff) | |
download | curl-e4b4ccbc67219908fa2bb1fde8f2b971b05f25d5.tar.gz |
cmake: Show HTTPS-proxy in the features output
- Show HTTPS-proxy in the features output for those backends that
support it: OpenSSL, GnuTLS and NSS.
Prior to this change HTTPS-proxy was missing from the cmake features
output even if curl was built with it. Only cmake output was affected.
Both the library and tool correctly reported the feature.
Bug: https://curl.haxx.se/mail/lib-2020-03/0008.html
Reported-by: David Lopes
Closes https://github.com/curl/curl/pull/5025
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b6d77542..73b053b31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1264,6 +1264,7 @@ _add_if("NTLM_WB" use_ntlm AND NOT CURL_DISABLE_HTTP AND NTLM_WB_ENABLED) _add_if("TLS-SRP" USE_TLS_SRP) # TODO option --with-nghttp2 tests for nghttp2 lib and nghttp2/nghttp2.h header _add_if("HTTP2" USE_NGHTTP2) +_add_if("HTTPS-proxy" SSL_ENABLED AND (USE_OPENSSL OR USE_GNUTLS OR USE_NSS)) string(REPLACE ";" " " SUPPORT_FEATURES "${_items}") message(STATUS "Enabled features: ${SUPPORT_FEATURES}") |