Commit eecba24b authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

CMakeLists.txt: fix arm build

parent cb63eaab
......@@ -83,7 +83,7 @@ if(UNIX)
endif()
endif()
string(REGEX MATCH "^(arm|aarch64)*" FIXED_POINT_PROCESSOR "${CMAKE_SYSTEM_PROCESSOR}")
string(REGEX MATCH "^(arm*|aarch64)" FIXED_POINT_PROCESSOR "${CMAKE_SYSTEM_PROCESSOR}")
if(FIXED_POINT_PROCESSOR)
add_definitions(-D__ARMEL__)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment