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

cmake: Always set the architecture

This way the RTDC check would trigger instead of passing silently
and produce a broken header file with a confusing message.

Change-Id: Ic8f9885c7d879186bdfbf8e99f8d4c1e6079dc70
parent f2b4f205
......@@ -70,6 +70,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")
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