diff options
author | Brad King <brad.king@kitware.com> | 2012-11-06 16:21:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-06 16:21:17 (GMT) |
commit | d6ab875260c2c55461f5fa59675020e600f76aae (patch) | |
tree | 35deb72b394050c467b1e732299ae487ea6941eb | |
parent | 719438fc27ab4052267d2b8a3ad955ca6b06fa63 (diff) | |
parent | 4a4c0ee78018ef96236b356e0ef7a4583fdfa580 (diff) | |
download | CMake-d6ab875260c2c55461f5fa59675020e600f76aae.zip CMake-d6ab875260c2c55461f5fa59675020e600f76aae.tar.gz CMake-d6ab875260c2c55461f5fa59675020e600f76aae.tar.bz2 |
Merge branch 'fix-openssl-win' into release
-rw-r--r-- | Modules/FindOpenSSL.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index e2cc427..224c88e 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake @@ -87,6 +87,7 @@ if(WIN32 AND NOT CYGWIN) find_library(LIB_EAY_DEBUG NAMES libeay32MDd + libeay32d ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" @@ -108,6 +109,7 @@ if(WIN32 AND NOT CYGWIN) find_library(SSL_EAY_DEBUG NAMES ssleay32MDd + ssleay32d ${_OPENSSL_ROOT_HINTS_AND_PATHS} PATH_SUFFIXES "lib" @@ -127,6 +129,11 @@ if(WIN32 AND NOT CYGWIN) "lib/VC" ) + set(LIB_EAY_LIBRARY_DEBUG "${LIB_EAY_DEBUG}") + set(LIB_EAY_LIBRARY_RELEASE "${LIB_EAY_RELEASE}") + set(SSL_EAY_LIBRARY_DEBUG "${SSL_EAY_DEBUG}") + set(SSL_EAY_LIBRARY_RELEASE "${SSL_EAY_RELEASE}") + include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(LIB_EAY) select_library_configurations(SSL_EAY) |