summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenoit Neil <suky0001@free.fr>2009-04-02 23:12:22 +0000
committerBenoit Neil <suky0001@free.fr>2009-04-02 23:12:22 +0000
commit9a184e0bb149631ee5e080aecb609eef2e7869f1 (patch)
tree39663609e48beb0a7bd1a1daa8e5b5bd0a56c991 /lib
parent168fb3a8d89bd83c926f3fa2314e064294ebff0b (diff)
downloadcurl-9a184e0bb149631ee5e080aecb609eef2e7869f1.tar.gz
Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman)
Diffstat (limited to 'lib')
-rw-r--r--lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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()