aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-01 16:15:52 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-01 20:53:55 +0100
commitbc2db562e5a3c679253fa53c63776a85cc1cb8d2 (patch)
tree7be6ee3988d8155d8a1b8e98430624cc04faefdf
parent93ce8e8ffd0ff6f7cef0fa2c83f0a017e042e647 (diff)
downloadlibssh-bc2db562e5a3c679253fa53c63776a85cc1cb8d2.tar.gz
libssh-bc2db562e5a3c679253fa53c63776a85cc1cb8d2.tar.xz
libssh-bc2db562e5a3c679253fa53c63776a85cc1cb8d2.zip
cmake: Added missing OpenSSL directories on Windows.
-rw-r--r--cmake/Modules/FindOpenSSL.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/Modules/FindOpenSSL.cmake b/cmake/Modules/FindOpenSSL.cmake
index e89686c8..4859a30c 100644
--- a/cmake/Modules/FindOpenSSL.cmake
+++ b/cmake/Modules/FindOpenSSL.cmake
@@ -34,6 +34,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
/opt/local/include
/sw/include
/usr/lib/sfw/include
+ C:/OpenSSL/include
$ENV{PROGRAMFILES}/OpenSSL/include
$ENV{PROGRAMFILES}/OpenSSL-Win32/include
)
@@ -52,6 +53,7 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
+ C:/OpenSSL/lib
$ENV{PROGRAMFILES}/OpenSSL/lib
$ENV{PROGRAMFILES}/OpenSSL-Win32/lib
)
@@ -68,6 +70,9 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
+ C:/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL-Win32/lib
)
find_library(SSLEAY32MD_LIBRARY
@@ -82,6 +87,9 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
+ C:/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL-Win32/lib
)
find_library(CRYPTO_LIBRARY
@@ -102,6 +110,9 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS)
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
+ C:/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL/lib
+ $ENV{PROGRAMFILES}/OpenSSL-Win32/lib
)
set(OPENSSL_INCLUDE_DIRS