Unverified Commit 89f36f1b by Edward Thomson Committed by GitHub

Merge pull request #5124 from pks-t/pks/cmake-ntlm-without-https

cmake: default NTLM client to off if no HTTPS support
parents 37e4c1ba 393fb8a1
......@@ -66,7 +66,11 @@ OPTION(DEPRECATE_HARD "Do not include deprecated functions in the library" OFF
SET(REGEX_BACKEND "" CACHE STRING "Regular expression implementation. One of regcomp_l, pcre2, pcre, regcomp, or builtin.")
IF (UNIX)
OPTION(USE_NTLMCLIENT "Enable NTLM support on Unix." ON )
IF (NOT USE_HTTPS)
OPTION(USE_NTLMCLIENT "Enable NTLM support on Unix." OFF )
ELSE()
OPTION(USE_NTLMCLIENT "Enable NTLM support on Unix." ON )
ENDIF()
ENDIF()
IF (UNIX AND NOT APPLE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment