diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-11-02 20:41:37 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-05 08:17:02 -0500 |
commit | 894b775fa722a3f58677f506a9ed0baceab0a119 (patch) | |
tree | f668270843cd5f40cd80ff976e243432f6b75238 | |
parent | a7742140ad1a88e354037ea391c0e773f147ebd2 (diff) | |
download | cmake-894b775fa722a3f58677f506a9ed0baceab0a119.tar.gz |
FindOpenSSL: fix library selection on Windows (#13645)
-rw-r--r-- | Modules/FindOpenSSL.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index e2cc427021..1f6d58cea8 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake @@ -127,6 +127,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) |