aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Zakrzewski <jzakrzewski@e2ebridge.com>2014-08-08 12:32:03 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-08-25 12:44:24 +0200
commitdda86f386d02fa4db67e76d6c9de5dab87e6ead7 (patch)
tree5254058c1a4a0903cabf952bd2dbdb3894cb4df2
parent7320e53d9e17b22cacea77a89ecaa8348513f0e1 (diff)
Cmake: Append OpenSSL include directory to search path
At this point I can build libcurl with OpenSSL, OpenLDAP and LibSSH2. Supported protocols are at least: HTTP, HTTPS, FTP, SFTP, TFTP, LDAP, LDAPS, POP3, SMTP (those are the ones we have regression tests for in our product's testsuite)
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cff09634c..00b740aa9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -289,6 +289,7 @@ if(CMAKE_USE_OPENSSL)
set(USE_OPENSSL ON)
set(HAVE_LIBCRYPTO ON)
set(HAVE_LIBSSL ON)
+ include_directories(${OPENSSL_INCLUDE_DIR})
endif(OPENSSL_FOUND)
endif(CMAKE_USE_OPENSSL)