From 9a184e0bb149631ee5e080aecb609eef2e7869f1 Mon Sep 17 00:00:00 2001 From: Benoit Neil Date: Thu, 2 Apr 2009 23:12:22 +0000 Subject: Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman) --- lib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CMakeLists.txt') diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 655c2ffb2..a1dbfbcf8 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -110,6 +110,10 @@ IF(CURL_MALLOC_DEBUG) ) ENDIF(CURL_MALLOC_DEBUG) +IF(CMAKE_USE_OPENSSL AND OPENSSL_FOUND) + INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) +ENDIF() + IF(CURL_ZLIB AND ZLIB_FOUND) INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR}) ENDIF() -- cgit v1.2.3