Browse Source

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

cmake: issue a non-fatal warning for openssl >=1.1
pull/966/head
orignal 7 years ago committed by GitHub
parent
commit
fd6d0922ab
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -324,7 +324,7 @@ if(NOT DEFINED OPENSSL_INCLUDE_DIR) @@ -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