summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-11-02 19:41:37 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-05 13:17:02 (GMT)
commit894b775fa722a3f58677f506a9ed0baceab0a119 (patch)
treef668270843cd5f40cd80ff976e243432f6b75238 /Modules
parenta7742140ad1a88e354037ea391c0e773f147ebd2 (diff)
downloadCMake-894b775fa722a3f58677f506a9ed0baceab0a119.zip
CMake-894b775fa722a3f58677f506a9ed0baceab0a119.tar.gz
CMake-894b775fa722a3f58677f506a9ed0baceab0a119.tar.bz2
FindOpenSSL: fix library selection on Windows (#13645)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindOpenSSL.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index e2cc427..1f6d58c 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)