mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
Remove need for utsname (#136)
This commit is contained in:

committed by
GitHub

parent
4795373db2
commit
e63405f118
@ -55,9 +55,6 @@ add_test(NAME unix_features_aggregator_test COMMAND unix_features_aggregator_tes
|
||||
if(PROCESSOR_IS_X86)
|
||||
add_executable(cpuinfo_x86_test cpuinfo_x86_test.cc ../src/cpuinfo_x86.c)
|
||||
target_compile_definitions(cpuinfo_x86_test PUBLIC CPU_FEATURES_MOCK_CPUID_X86)
|
||||
if(HAVE_UTSNAME_H)
|
||||
target_compile_definitions(cpuinfo_x86_test PRIVATE HAVE_UTSNAME_H)
|
||||
endif()
|
||||
if(APPLE)
|
||||
target_compile_definitions(cpuinfo_x86_test PRIVATE HAVE_SYSCTLBYNAME)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user