From 0f7b263eac1ab42286b5c548d0e89a1df4b03d52 Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 24 Jun 2017 00:06:52 +0200 Subject: [PATCH] Buildsystem: Fixed linking to both release and debug versions of openssl libs on windows Closes #19941 --- cmake/macros/FindOpenSSL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/macros/FindOpenSSL.cmake b/cmake/macros/FindOpenSSL.cmake index d495f1ed2a4..eab7333fb1c 100644 --- a/cmake/macros/FindOpenSSL.cmake +++ b/cmake/macros/FindOpenSSL.cmake @@ -110,8 +110,8 @@ IF(WIN32 AND NOT CYGWIN) if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE ) set( OPENSSL_LIBRARIES - optimized ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE} - debug ${SSL_EAY_DEBUG} ${LIB_EAY_DEBUG} + optimized ${SSL_EAY_RELEASE} optimized ${LIB_EAY_RELEASE} + debug ${SSL_EAY_DEBUG} debug ${LIB_EAY_DEBUG} ) else() set( OPENSSL_LIBRARIES