diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-06-16 22:37:15 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-06-16 22:37:15 (GMT) |
commit | e1909b9ebfaff21d2521599aea2314fcc521fb18 (patch) | |
tree | e9db2efa12c0a233a0160907fbb668576a366924 /Modules | |
parent | d07a4675d224d155b324fed5a6c43569835b5294 (diff) | |
download | CMake-e1909b9ebfaff21d2521599aea2314fcc521fb18.zip CMake-e1909b9ebfaff21d2521599aea2314fcc521fb18.tar.gz CMake-e1909b9ebfaff21d2521599aea2314fcc521fb18.tar.bz2 |
BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenSSL.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindOpenSSL.cmake b/Modules/FindOpenSSL.cmake index 0172df8..a647d1b 100644 --- a/Modules/FindOpenSSL.cmake +++ b/Modules/FindOpenSSL.cmake @@ -33,7 +33,8 @@ IF(WIN32 AND MSVC) IF(SSL_EAY_DEBUG AND SSL_EAY_RELEASE)
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")
+ 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)
STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TOLOWER)
|