mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
CI: Use system's cpu_features in FreeBSD CI
This commit is contained in:
1 parent
e2e8193495
commit
10a2806f12
2 files changed
+4
-2
No files matched your search
@@ -121,6 +121,8 @@ if(UNIX)
|
||||
message("cpu_features is not available on ${CMAKE_SYSTEM_NAME}")
|
||||
add_definitions(-DSKIP_CPU_FEATURES)
|
||||
elseif(USE_SYSTEM_CPU_FEATURES)
|
||||
CHECK_INCLUDE_FILE(cpu_features_macros.h HAVE_CPU_FEATURES)
|
||||
message("-- Using system's cpu_features")
|
||||
target_link_libraries(mayaqua PRIVATE cpu_features)
|
||||
else()
|
||||
add_subdirectory(3rdparty/cpu_features)
|
||||
|
||||
Reference in new issue
Block a user