From dda86f386d02fa4db67e76d6c9de5dab87e6ead7 Mon Sep 17 00:00:00 2001 From: Jakub Zakrzewski Date: Fri, 8 Aug 2014 12:32:03 +0100 Subject: [PATCH] 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) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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)