[Cmake-commits] [cmake-commits] alex committed FindOpenSSL.cmake 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jun 16 18:37:17 EDT 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv10589

Modified Files:
	FindOpenSSL.cmake 
Log Message:
BUG: don't fail with FATAL_ERROR if REQUIRED was not used

Alex


Index: FindOpenSSL.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindOpenSSL.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** FindOpenSSL.cmake	19 Sep 2006 20:11:53 -0000	1.1
--- FindOpenSSL.cmake	16 Jun 2008 22:37:15 -0000	1.2
***************
*** 34,38 ****
           SET(OPENSSL_LIBRARIES optimized ${SSL_EAY_RELEASE} debug ${SSL_EAY_DEBUG})
        ELSE(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
!          MESSAGE(FATAL_ERROR "Could not find the debug and release version of openssl")
        ENDIF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
     ELSE(MSVC_IDE)
--- 34,39 ----
           SET(OPENSSL_LIBRARIES optimized ${SSL_EAY_RELEASE} debug ${SSL_EAY_DEBUG})
        ELSE(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
!          SET(OPENSSL_LIBRARIES NOTFOUND)
!          MESSAGE(STATUS "Could not find the debug and release version of openssl")
        ENDIF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
     ELSE(MSVC_IDE)



More information about the Cmake-commits mailing list