mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-04-03 18:00:08 +03:00
unset variables after check
This commit is contained in:
parent
7692210393
commit
850465273d
@ -37,6 +37,9 @@ set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY})
|
||||
|
||||
check_function_exists(EVP_PKEY_get_raw_public_key HAVE_OPENSSL_EVP_PKEY)
|
||||
|
||||
unset(CMAKE_REQUIRED_INCLUDES)
|
||||
unset(CMAKE_REQUIRED_LIBRARIES)
|
||||
|
||||
if(NOT HAVE_OPENSSL_EVP_PKEY)
|
||||
message(FATAL_ERROR "required EVP_PKEY_get_raw_public_key() is not found in OpenSSL library")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user