Skip to content

Commit

Permalink
fix: Use Neon for Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbredholt authored and Auburn committed Mar 16, 2023
1 parent 8a40ff1 commit d8a073b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL aarch64)
set(FASTSIMD_COMPILE_ARM true)
set(FASTSIMD_COMPILE_HAVE_NEON true)

elseif(CMAKE_SYSTEM_PROCESSOR MATCHES arm64)

set(FASTSIMD_COMPILE_ARM true)
set(FASTSIMD_COMPILE_HAVE_NEON true)

elseif(CMAKE_SYSTEM_PROCESSOR MATCHES arm)

set(FASTSIMD_COMPILE_ARM true)
Expand Down

0 comments on commit d8a073b

Please sign in to comment.