mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
Skip oqsprovider build when OpenSSL version is less than 3.0
This commit is contained in:
1 parent
28ded982a7
commit
1f9ce6f9c2
1 file changed
+4
@@ -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})
|
||||
|
||||
Reference in new issue
Block a user