Skip to content

Commit

Permalink
allow compilation with libssl3 when using USE_STRICT_OPENSSL_VERSION=…
Browse files Browse the repository at this point in the history
  • Loading branch information
jsteemann authored May 10, 2022
1 parent 94572bd commit 4545d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ else ()
find_package(OpenSSL REQUIRED)
endif ()

if (OPENSSL_FOUND)
if (OPENSSL_FOUND AND USE_STRICT_OPENSSL_VERSION)
if (NOT "${OPENSSL_VERSION}" MATCHES "${ARANGODB_REQUIRED_OPENSSL_VERSION}")
message (FATAL_ERROR "Wrong OpenSSL version was found: ${OPENSSL_VERSION}! Required version: ${MSG_ARANGODB_REQUIRED_OPENSSL_VERSION}!")
endif ()
Expand Down

0 comments on commit 4545d31

Please sign in to comment.