Buildsystem: Fixed linking to both release and debug versions of openssl libs on windows

Closes #19941
This commit is contained in:
Shauren
2017-06-24 00:06:52 +02:00
parent 312ec33f1c
commit 0f7b263eac

View File

@@ -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