summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-11-02 22:59:08 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-05 13:17:02 (GMT)
commit4a4c0ee78018ef96236b356e0ef7a4583fdfa580 (patch)
treee0a71807e3d1b405282b4b0b2227f45b17f9bb7e /Modules/FindOpenSSL.cmake
parent894b775fa722a3f58677f506a9ed0baceab0a119 (diff)
downloadCMake-4a4c0ee78018ef96236b356e0ef7a4583fdfa580.zip
CMake-4a4c0ee78018ef96236b356e0ef7a4583fdfa580.tar.gz
CMake-4a4c0ee78018ef96236b356e0ef7a4583fdfa580.tar.bz2
FindOpenSSL: also find the non-MD debug libraries for MSVC
We already search for them in release mode.
Diffstat (limited to 'Modules/FindOpenSSL.cmake')
-rw-r--r--Modules/FindOpenSSL.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index 1f6d58c..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"