From: Jakub Zakrzewski Date: Fri, 8 Aug 2014 11:32:03 +0000 (+0100) Subject: Cmake: Append OpenSSL include directory to search path X-Git-Tag: curl-7_38_0~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dda86f386d02fa4db67e76d6c9de5dab87e6ead7;p=curl 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) --- 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)