]> granicus.if.org Git - curl/commitdiff
Cmake: Append OpenSSL include directory to search path
authorJakub Zakrzewski <jzakrzewski@e2ebridge.com>
Fri, 8 Aug 2014 11:32:03 +0000 (12:32 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 25 Aug 2014 10:44:24 +0000 (12:44 +0200)
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

index cff09634c4a8b4ef1e4495d2d1354f905f5c7748..00b740aa99b64e2ca1bb6a4e11634c391cf9e484 100644 (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)