From 57088c437519234ba34d8d8593f0496d3483022a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 11 Aug 2009 15:37:10 +0200 Subject: [PATCH] Fix libssh build and installation on MSVC. --- cmake/Modules/DefineInstallationPaths.cmake | 2 +- cmake/Modules/FindOpenSSL.cmake | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Modules/DefineInstallationPaths.cmake b/cmake/Modules/DefineInstallationPaths.cmake index e45977d7..71e1e854 100644 --- a/cmake/Modules/DefineInstallationPaths.cmake +++ b/cmake/Modules/DefineInstallationPaths.cmake @@ -94,7 +94,7 @@ endif (UNIX) if (WIN32) # Same same - set(BIN_INSTALL_DIR "." CACHE PATH "-") + set(BIN_INSTALL_DIR "bin" CACHE PATH "-") set(SBIN_INSTALL_DIR "." CACHE PATH "-") set(LIB_INSTALL_DIR "lib" CACHE PATH "-") set(INCLUDE_INSTALL_DIR "include" CACHE PATH "-") diff --git a/cmake/Modules/FindOpenSSL.cmake b/cmake/Modules/FindOpenSSL.cmake index 2e7dffbb..c74ea48d 100644 --- a/cmake/Modules/FindOpenSSL.cmake +++ b/cmake/Modules/FindOpenSSL.cmake @@ -87,6 +87,10 @@ else (OPENSSL_LIBRARIES AND OPENSSL_INCLUDE_DIRS) NAMES crypto libcrypto + eay + eay32 + libeay + libeay32 PATHS ${_OPENSSL_LIBDIR} /usr/lib