Skip to content

Commit

Permalink
fix arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Nov 15, 2020
1 parent 07f8c9b commit db1e129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(Salmon)

# detect host architecture
if(NOT DEFINED USE_ARM)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")
set(USE_ARM TRUE)
# set char to be signed
add_compile_options(-fsigned-char)
Expand Down

0 comments on commit db1e129

Please sign in to comment.