mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-06-28 03:45:08 +03:00
limit checks to non windows only
This commit is contained in:
parent
8554dc504c
commit
0cdc748c83
@ -32,6 +32,8 @@ target_link_libraries(mayaqua
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
||||
if(NOT WIN32)
|
||||
|
||||
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${OPENSSL_CRYPTO_LIBRARY})
|
||||
|
||||
@ -44,6 +46,8 @@ if(NOT HAVE_OPENSSL_EVP_PKEY)
|
||||
message(FATAL_ERROR "required EVP_PKEY_get_raw_public_key() is not found in OpenSSL library")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set_target_properties(mayaqua
|
||||
PROPERTIES
|
||||
|
Loading…
Reference in New Issue
Block a user