1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 18:20:40 +03:00

Merge pull request #1079 from metalefty/skip_cpu_features

allow to SKIP_CPU_FEATURES explicitly, not only autodetect
This commit is contained in:
Ilya Shipitsin 2020-03-18 11:59:02 +05:00 committed by GitHub
commit c3d56c2201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -2,13 +2,12 @@ FreeBSD_task:
matrix:
env:
SSL: openssl
env:
SSL: openssl111
env:
SSL: libressl
env:
SSL: libressl-devel
env:
# base openssl
SSL:
matrix:
freebsd_instance:

View File

@ -65,7 +65,7 @@ if(UNIX)
target_link_libraries(mayaqua PRIVATE OpenSSL::SSL OpenSSL::Crypto Threads::Threads ZLIB::ZLIB)
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv7l|aarch64|s390x)$" OR NOT HAVE_SYS_AUXV)
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv7l|aarch64|s390x)$" OR NOT HAVE_SYS_AUXV OR SKIP_CPU_FEATURES)
add_definitions(-DSKIP_CPU_FEATURES)
else()
add_subdirectory(3rdparty/cpu_features)