[TD-3148] <feature>: make build system detect host arch. support aarch32
This commit is contained in:
parent
0e98eb8ecd
commit
959220bd83
|
@ -105,8 +105,8 @@ ELSE ()
|
|||
MESSAGE(STATUS "The current platform is " ${CMAKE_SYSTEM_PROCESSOR})
|
||||
IF (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
|
||||
MESSAGE(STATUS "The current platform is x86")
|
||||
ELSE ()
|
||||
MESSAGE(STATUS "The current os is NOT x86")
|
||||
ELSEIF (CMAKE_SYSTEM_PROCESSOR MATCHES "armv7l")
|
||||
SET(CPUTYPE "aarch32")
|
||||
ENDIF ()
|
||||
|
||||
ENDIF ()
|
||||
|
|
Loading…
Reference in New Issue