Commit 40c9a15f authored by Tristan Matthews's avatar Tristan Matthews Committed by Jean-Baptiste Kempf

contrib: cmake: set CMAKE_SYSTEM_PROCESSOR variable

This is needed to build aom for non-GNU/Linux using our toolchain.cmake
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f722ad55
......@@ -466,6 +466,7 @@ ifndef WITH_OPTIMIZATION
else
echo "set(CMAKE_BUILD_TYPE Release)" >> $@
endif
echo "set(CMAKE_SYSTEM_PROCESSOR $(ARCH))" >> $@
ifdef HAVE_WIN32
ifdef HAVE_WINDOWSPHONE
echo "set(CMAKE_SYSTEM_NAME WindowsPhone)" >> $@
......
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