Commit b0875d20 authored by Luca Barbato's avatar Luca Barbato Committed by Tom Finegan

cmake: Fallback if the target is not supported

It is user friendlier.

Change-Id: I3eb1ca69464d75da4d81e4139e0384d97e0ccac1
parent 53995e10
......@@ -71,8 +71,9 @@ if (NOT AOM_TARGET_CPU)
elseif ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "aarch64")
set(AOM_TARGET_CPU "arm64")
else ()
message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not supported")
message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not "
"supported, falling back to the generic target")
set(AOM_TARGET_CPU "generic")
endif ()
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