1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-18 20:59:57 +00:00

Merge pull request #964 from radfish/PR--cmake-openssl-warn

cmake: issue a non-fatal warning for openssl >=1.1
This commit is contained in:
orignal 2017-09-26 21:16:20 -04:00 committed by GitHub
commit fd6d0922ab

View File

@ -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()