diff --git a/curl-cmake.sh b/curl-cmake.sh index 4ac79c09e..3c087c5cb 100755 --- a/curl-cmake.sh +++ b/curl-cmake.sh @@ -115,6 +115,7 @@ _VER="$1" [[ "${_CONFIG}" != *'imap'* ]] && options+=' -DCURL_DISABLE_IMAP=ON' if [ "${_OS}" != 'win' ]; then options+=' -DCURL_DISABLE_BINDLOCAL=ON' + options+=' -DCURL_WINDOWS_SSPI=OFF' fi options+=' -DENABLE_UNIX_SOCKETS=OFF' options+=' -DENABLE_WEBSOCKETS=OFF' @@ -124,6 +125,7 @@ _VER="$1" options+=' -DENABLE_WEBSOCKETS=ON' if [ "${_OS}" = 'win' ]; then LIBS+=' -lwldap32' + options+=' -DCURL_WINDOWS_SSPI=ON' elif [ "${_OS}" != 'mac' ] || [ "${_OSVER}" -ge '1010' ]; then # On macOS we use the built-in LDAP lib options+=' -DCURL_DISABLE_LDAP=ON -DCURL_DISABLE_LDAPS=ON' fi