Skip to content

Commit 52294c4

Browse files
authored
Merge pull request libgit2#5685 from staticfloat/sf/mbedtls_inc_fix
Include `${MBEDTLS_INCLUDE_DIR}` when compiling `crypt_mbedtls.c`
2 parents b106834 + 1822b08 commit 52294c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deps/ntlmclient/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ELSEIF(USE_HTTPS STREQUAL "OpenSSL")
1616
SET(SRC_NTLMCLIENT_CRYPTO "crypt_openssl.c")
1717
ELSEIF(USE_HTTPS STREQUAL "mbedTLS")
1818
ADD_DEFINITIONS(-DCRYPT_MBEDTLS)
19+
INCLUDE_DIRECTORIES(${MBEDTLS_INCLUDE_DIR})
1920
SET(SRC_NTLMCLIENT_CRYPTO "crypt_mbedtls.c")
2021
ELSE()
2122
MESSAGE(FATAL_ERROR "Unable to use libgit2's HTTPS backend (${USE_HTTPS}) for NTLM crypto")

0 commit comments

Comments
 (0)