summaryrefslogtreecommitdiff
path: root/cmake/SelectHTTPSBackend.cmake
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-03-13 07:08:46 -0700
committerEdward Thomson <ethomson@vercel.com>2023-03-21 09:15:14 +0000
commitf15c8ac71a916bf186cd5ff81f07ca85eef82afb (patch)
treedf740d45134e08d42f7400eee4f4aa1f112d393e /cmake/SelectHTTPSBackend.cmake
parent0d7f3f52918a00a2a07ba965eb65c6ac5d122867 (diff)
downloadlibgit2-f15c8ac71a916bf186cd5ff81f07ca85eef82afb.tar.gz
http: add SSPI authentication on Windows
Add support for SSPI on Windows, which offers NTLM and Negotiate authentication.
Diffstat (limited to 'cmake/SelectHTTPSBackend.cmake')
-rw-r--r--cmake/SelectHTTPSBackend.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/SelectHTTPSBackend.cmake b/cmake/SelectHTTPSBackend.cmake
index 64c7a1097..d14941643 100644
--- a/cmake/SelectHTTPSBackend.cmake
+++ b/cmake/SelectHTTPSBackend.cmake
@@ -125,8 +125,8 @@ if(USE_HTTPS)
list(APPEND LIBGIT2_PC_LIBS "-lwinhttp")
endif()
- list(APPEND LIBGIT2_SYSTEM_LIBS "rpcrt4" "crypt32" "ole32")
- list(APPEND LIBGIT2_PC_LIBS "-lrpcrt4" "-lcrypt32" "-lole32")
+ list(APPEND LIBGIT2_SYSTEM_LIBS "rpcrt4" "crypt32" "ole32" "secur32")
+ list(APPEND LIBGIT2_PC_LIBS "-lrpcrt4" "-lcrypt32" "-lole32" "-lsecur32")
elseif(USE_HTTPS STREQUAL "OpenSSL-Dynamic")
set(GIT_OPENSSL 1)
set(GIT_OPENSSL_DYNAMIC 1)