BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
This commit is contained in:
parent
d07a4675d2
commit
e1909b9ebf
@ -33,7 +33,8 @@ IF(WIN32 AND MSVC)
|
|||||||
IF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
IF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
||||||
SET(OPENSSL_LIBRARIES optimized ${SSL_EAY_RELEASE} debug ${SSL_EAY_DEBUG})
|
SET(OPENSSL_LIBRARIES optimized ${SSL_EAY_RELEASE} debug ${SSL_EAY_DEBUG})
|
||||||
ELSE(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
ELSE(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
||||||
MESSAGE(FATAL_ERROR "Could not find the debug and release version of openssl")
|
SET(OPENSSL_LIBRARIES NOTFOUND)
|
||||||
|
MESSAGE(STATUS "Could not find the debug and release version of openssl")
|
||||||
ENDIF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
ENDIF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
|
||||||
ELSE(MSVC_IDE)
|
ELSE(MSVC_IDE)
|
||||||
STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
|
STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user