Fix 11035 : debug/release library configuration mistake

Thanks to Dimitri Kaparis for report
This commit is contained in:
Mathieu Malaterre 2010-08-14 13:18:31 +02:00
parent 16168ab0c3
commit d570ee7b5a
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ IF(WIN32 AND NOT CYGWIN)
) )
if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE ) if( CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE )
set( OPENSSL_LIBRARIES set( OPENSSL_LIBRARIES
optimized ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE} optimized ${SSL_EAY_RELEASE} debug ${SSL_EAY_DEBUG}
debug ${SSL_EAY_DEBUG} ${LIB_EAY_DEBUG} optimized ${LIB_EAY_RELEASE} debug ${LIB_EAY_DEBUG}
) )
else() else()
set( OPENSSL_LIBRARIES ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE} ) set( OPENSSL_LIBRARIES ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE} )