File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "amd64.*|x86_64.*|AMD64.*")
54
54
endif ()
55
55
elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "i686.*|i386.*|x86.*|amd64.*|AMD64.*" )
56
56
set (X86 1 )
57
- elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)" )
58
- set (ARM 1 )
59
- elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)" )
57
+ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)" )
60
58
if ("${CMAKE_SIZEOF_VOID_P} " EQUAL "8" )
61
59
set (ARM64 1 )
62
60
else ()
63
61
set (ARM 1 )
64
62
endif ()
63
+ elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)" )
64
+ set (ARM 1 )
65
65
elseif (${CMAKE_CROSSCOMPILING} )
66
66
if (${TARGET} STREQUAL "CORE2" )
67
67
if (NOT BINARY )
Original file line number Diff line number Diff line change @@ -197,6 +197,8 @@ int detect(void)
197
197
198
198
199
199
}
200
+ #else
201
+ return CPU_ARMV8 ;
200
202
#endif
201
203
202
204
return CPU_UNKNOWN ;
You can’t perform that action at this time.
0 commit comments