cmake: issue a non-fatal warning for openssl >=1.1

pull/964/head
redfish 7 years ago
parent eabeeaccfe
commit 8179e7dbf8

@ -324,7 +324,7 @@ if(NOT DEFINED OPENSSL_INCLUDE_DIR)
message(SEND_ERROR "Could not find OpenSSL. Please download and install it first!")
else()
if(NOT (OPENSSL_VERSION VERSION_LESS 1.1))
message(SEND_ERROR "Unsupported OpenSSL version: ${OPENSSL_VERSION} (required < 1.1)")
message(WARNING "Your OpenSSL version ${OPENSSL_VERSION} >=1.1 is experimental: build with v1.0 when possible.")
endif()
endif()

Loading…
Cancel
Save