summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSimon Warta <simon@kullo.net>2017-05-02 00:26:08 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-21 23:20:12 +0200
commitfab9629133025e2d9517334535908200802b5e96 (patch)
tree94d31eaa1dfa61399983a09a20886516be3cd74e /CMakeLists.txt
parent2ea297564da508e96e2c720479be2afa0594027b (diff)
downloadcurl-fab9629133025e2d9517334535908200802b5e96.tar.gz
cmake: remove unused variables: GNUTLS_ENABLED, NSS_ENABLED
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ba064817..078512056 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -688,7 +688,7 @@ elseif(CURL_CA_PATH_AUTODETECT OR CURL_CA_BUNDLE_AUTODETECT)
endif()
endif()
-if(CURL_CA_PATH_SET AND NOT (USE_OPENSSL OR GNUTLS_ENABLED))
+if(CURL_CA_PATH_SET AND NOT USE_OPENSSL)
message(FATAL_ERROR
"CA path only supported by OpenSSL, GnuTLS or PolarSSL. "
"Set CURL_CA_PATH=none or enable one of those TLS backends.")
@@ -1199,8 +1199,7 @@ _add_if("Kerberos" NOT CURL_DISABLE_CRYPTO_AUTH AND
(HAVE_GSSAPI OR USE_WINDOWS_SSPI))
# NTLM support requires crypto function adaptions from various SSL libs
# TODO alternative SSL libs tests for SSP1, GNUTLS, NSS
-if(NOT CURL_DISABLE_CRYPTO_AUTH AND (USE_OPENSSL OR
- USE_WINDOWS_SSPI OR GNUTLS_ENABLED OR NSS_ENABLED OR USE_DARWINSSL OR USE_MBEDTLS))
+if(NOT CURL_DISABLE_CRYPTO_AUTH AND (USE_OPENSSL OR USE_WINDOWS_SSPI OR USE_DARWINSSL OR USE_MBEDTLS))
_add_if("NTLM" 1)
# TODO missing option (autoconf: --enable-ntlm-wb)
_add_if("NTLM_WB" NOT CURL_DISABLE_HTTP AND NTLM_WB_ENABLED)