Skip to content

Commit

Permalink
build: Fix build under intel mac machine (#5447)
Browse files Browse the repository at this point in the history
ref #5368
  • Loading branch information
JaySon-Huang authored Jul 21, 2022
1 parent d61c1df commit c2e9f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ SET (BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "Disable google-benchmark testi
add_subdirectory(benchmark)

set (BUILD_TESTING OFF CACHE BOOL "Disable cpu-features testing" FORCE)
if ((NOT APPLE) AND (NOT ARCH_AARCH64))
if (NOT (APPLE AND ARCH_AARCH64))
add_subdirectory(cpu_features)
endif()

Expand Down

0 comments on commit c2e9f96

Please sign in to comment.