[vlc-commits] contrib: cmake: set CMAKE_SYSTEM_PROCESSOR variable
Tristan Matthews
git at videolan.org
Fri Jan 12 11:04:12 CET 2018
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Jan 10 23:16:18 2018 -0500| [40c9a15fcafe07616521a2c112c6143fc39c7ddf] | committer: 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 <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=40c9a15fcafe07616521a2c112c6143fc39c7ddf
---
contrib/src/main.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index b20a5675eb..0398a5ad1a 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -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)" >> $@
More information about the vlc-commits
mailing list