summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Haslam <jason@scitools.com>2019-08-29 15:03:46 -0600
committerJason Haslam <jason@scitools.com>2019-08-29 15:03:46 -0600
commit7218cf47e1e1490bb9f4573f492414d2a2691dbd (patch)
tree1d2abe55e9e0ce5c23fe0399fb29d9450ac38039
parent5fc27aac6f47aaf06f454805f77c942c5a08393b (diff)
downloadlibgit2-7218cf47e1e1490bb9f4573f492414d2a2691dbd.tar.gz
ntlm: fix failure to find openssl headers
-rw-r--r--deps/ntlmclient/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/ntlmclient/CMakeLists.txt b/deps/ntlmclient/CMakeLists.txt
index c7d472da9..66e96d6f6 100644
--- a/deps/ntlmclient/CMakeLists.txt
+++ b/deps/ntlmclient/CMakeLists.txt
@@ -9,6 +9,7 @@ IF (HTTPS_BACKEND STREQUAL "SecureTransport")
SET(SRC_NTLMCLIENT_CRYPTO "crypt_commoncrypto.c")
ELSEIF (HTTPS_BACKEND STREQUAL "OpenSSL")
ADD_DEFINITIONS(-DCRYPT_OPENSSL)
+ INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR})
SET(SRC_NTLMCLIENT_CRYPTO "crypt_openssl.c")
ELSEIF (HTTPS_BACKEND STREQUAL "mbedTLS")
ADD_DEFINITIONS(-DCRYPT_MBEDTLS)