Commit 7218cf47e1e1490bb9f4573f492414d2a2691dbd

Jason Haslam 2019-08-29T15:03:46

ntlm: fix failure to find openssl headers

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/deps/ntlmclient/CMakeLists.txt b/deps/ntlmclient/CMakeLists.txt
index c7d472d..66e96d6 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)