Skip to content

Commit

Permalink
Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Nov 18, 2020
1 parent 7ff4803 commit be7dff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ endif()
# Compiler dependent flags
include (CheckCCompilerFlag)
if(UNIX)
check_c_compiler_flag(-march=armv8-a+crc ARM_CRC)
if(ARM_CRC)
# wrong answer for Apple Silicon: check_cxx_compiler_flag(-msse2 HAS_SSE2)
else()
Expand Down

0 comments on commit be7dff9

Please sign in to comment.