aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-06-24 00:06:52 +0200
committerShauren <shauren.trinity@gmail.com>2017-06-24 00:06:52 +0200
commit0f7b263eac1ab42286b5c548d0e89a1df4b03d52 (patch)
tree7062f7ae3fc7a288146b0178c99dbaaee8bb352f
parent312ec33f1c24a6bc564adaeb5dc97d7a8d2d8afa (diff)
Buildsystem: Fixed linking to both release and debug versions of openssl libs on windows
Closes #19941
-rw-r--r--cmake/macros/FindOpenSSL.cmake4
1 files 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