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 TrinityCore#19941
  • Loading branch information
TheGhostDev1 committed Jan 13, 2022
1 parent 1290d2d commit 3a073f4
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

0 comments on commit 3a073f4

Please sign in to comment.