aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-05-12 13:55:32 +0200
committerAndreas Schneider <mail@cynapses.org>2010-05-12 13:55:32 +0200
commit739234afb9f9c644afacbb7fd8e8a3a421adf63b (patch)
tree8053e8f4f05a688ed4dc4513133f703c58e1fa78 /cmake/Modules/FindOpenSSL.cmake
parent4ecefb501702cb993eb3acd98876a378783526b6 (diff)
downloadlibssh-739234afb9f9c644afacbb7fd8e8a3a421adf63b.tar.gz
libssh-739234afb9f9c644afacbb7fd8e8a3a421adf63b.tar.xz
libssh-739234afb9f9c644afacbb7fd8e8a3a421adf63b.zip
Added the possibility to define _OPENSSL_DIR and _ZLIB_DIR.
Diffstat (limited to 'cmake/Modules/FindOpenSSL.cmake')
-rw-r--r--cmake/Modules/FindOpenSSL.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/Modules/FindOpenSSL.cmake b/cmake/Modules/FindOpenSSL.cmake
index 79f44821..53e83eac 100644
--- a/cmake/Modules/FindOpenSSL.cmake
+++ b/cmake/Modules/FindOpenSSL.cmake
@@ -27,6 +27,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
NAMES
openssl/ssl.h
PATHS
+ ${_OPENSSL_DIR}/include
${_OPENSSL_INCLUDEDIR}
/usr/include
/usr/local/include
@@ -40,6 +41,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
ssl
libssl
PATHS
+ ${_OPENSSL_DIR}/lib
${_OPENSSL_LIBDIR}
/usr/lib
/usr/local/lib
@@ -53,6 +55,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
NAMES
ssleay32
PATHS
+ ${_OPENSSL_DIR}/lib
${_OPENSSL_LIBDIR}
/usr/lib
/usr/local/lib
@@ -66,6 +69,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
NAMES
ssleay32MD
PATHS
+ ${_OPENSSL_DIR}/lib
${_OPENSSL_LIBDIR}
/usr/lib
/usr/local/lib
@@ -84,6 +88,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
libeay
libeay32
PATHS
+ ${_OPENSSL_DIR}/lib
${_OPENSSL_LIBDIR}
/usr/lib
/usr/local/lib