Skip to content

Commit

Permalink
Buildsystem: Fixed linking to both release and debug versions of open…
Browse files Browse the repository at this point in the history
…ssl libs on windows

Closes #19941
  • Loading branch information
Shauren committed Jun 23, 2017
1 parent 312ec33 commit 0f7b263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/macros/FindOpenSSL.cmake
Expand Up @@ -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
Expand Down

1 comment on commit 0f7b263

@Shauren
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't really break anything so there is no need to apply it to 3.3.5 immediately anyway

Please sign in to comment.