summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenSSL.cmake
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2010-08-14 11:18:31 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2010-08-14 11:18:31 (GMT)
commitd570ee7b5a6c1ea69d19af1ac2269af0287d6953 (patch)
tree12467136580b1c67d174be9ce17218a026835096 /Modules/FindOpenSSL.cmake
parent16168ab0c3549b6953fe95354446508ce3cc945e (diff)
downloadCMake-d570ee7b5a6c1ea69d19af1ac2269af0287d6953.zip
CMake-d570ee7b5a6c1ea69d19af1ac2269af0287d6953.tar.gz
CMake-d570ee7b5a6c1ea69d19af1ac2269af0287d6953.tar.bz2
Fix 11035 : debug/release library configuration mistake
Thanks to Dimitri Kaparis for report
Diffstat (limited to 'Modules/FindOpenSSL.cmake')
-rw-r--r--Modules/FindOpenSSL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake
index c0cdcb1..d3d7fc2 100644
--- a/Modules/FindOpenSSL.cmake
+++ b/Modules/FindOpenSSL.cmake
@@ -74,8 +74,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} debug ${SSL_EAY_DEBUG}
+ optimized ${LIB_EAY_RELEASE} debug ${LIB_EAY_DEBUG}
)
else()
set( OPENSSL_LIBRARIES ${SSL_EAY_RELEASE} ${LIB_EAY_RELEASE} )