mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Fix OpenSSL version message
This commit is contained in:
1 parent
343ef7497c
commit
f30e8039c1
1 file changed
+2
-3
@@ -28,10 +28,9 @@ else()
|
||||
endif()
|
||||
|
||||
if (OPENSSL_FOUND)
|
||||
message(STATUS "OpenSSL found with ${OPENSSL_VERSION} version")
|
||||
if (OPENSSL_VERSION LESS "1.1.0")
|
||||
message(SEND_ERROR "The OpenSSL must be greater than 1.0.0, the actual version is ${OPENSSL_VERSION}")
|
||||
else ()
|
||||
message(STATUS "OpenSSL found with ${OPENSSL_VERSION}")
|
||||
message(SEND_ERROR "The OpenSSL must be greater than or equal to 1.1.0")
|
||||
endif ()
|
||||
else ()
|
||||
message(SEND_ERROR "Not found the OpenSSL library")
|
||||
|
||||
Reference in new issue
Block a user