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)
This commit is contained in:
Jakub Zakrzewski 2014-08-08 12:32:03 +01:00 committed by Daniel Stenberg
parent 7320e53d9e
commit dda86f386d
1 changed files with 1 additions and 0 deletions

View File

@ -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)