1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-08-25 22:12:58 +03:00

Skip oqsprovider build when OpenSSL version is less than 3.0

This commit is contained in:
Siddharth 2024-06-28 16:54:03 -04:00
parent 28ded982a7
commit 1f9ce6f9c2

View File

@ -18,6 +18,10 @@ set_target_properties(mayaqua
find_package(OpenSSL REQUIRED)
if(OPENSSL_VERSION VERSION_LESS "3") # Disable oqsprovider when OpenSSL version < 3
set(SKIP_OQS_PROVIDER ON)
endif()
include(CheckSymbolExists)
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})