summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorKevin Whitaker <eyecreate@gmail.com>2017-02-16 14:38:30 (GMT)
committerBrad King <brad.king@kitware.com>2017-02-16 18:26:42 (GMT)
commit9b78dca3a909ce3161d235718f935bf2fb9b7f64 (patch)
tree9fc60275403b7825f9a3d3e1490a58eb8dbe2277 /Modules/FindOpenSSL.cmake
parentb9229944cf1b9f27e1fc97921e736ca17fc4eb0c (diff)
downloadCMake-9b78dca3a909ce3161d235718f935bf2fb9b7f64.zip
CMake-9b78dca3a909ce3161d235718f935bf2fb9b7f64.tar.gz
CMake-9b78dca3a909ce3161d235718f935bf2fb9b7f64.tar.bz2
FindOpenSSL: Add another name for libcrypto with MSVC
Add the `crypto` name without any prefix or suffix as a fallback, just as we already have for `ssl`.
Diffstat (limited to 'Modules/FindOpenSSL.cmake')
-rw-r--r--Modules/FindOpenSSL.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index 6259ce1..117811c 100644
--- a/Modules/FindOpenSSL.cmake
+++ b/Modules/FindOpenSSL.cmake
@@ -160,6 +160,7 @@ if(WIN32 AND NOT CYGWIN)
libcrypto
libeay32${_OPENSSL_MSVC_RT_MODE}
libeay32
+ crypto
NAMES_PER_DIR
${_OPENSSL_ROOT_HINTS_AND_PATHS}
PATH_SUFFIXES