[vlc-commits] contrib: cmake: set CMAKE_SYSTEM_PROCESSOR variable
Tristan Matthews
git at videolan.org
Fri Jan 12 11:07:37 CET 2018
vlc/vlc-3.0 | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed Jan 10 23:16:18 2018 -0500| [fd311266e467c08e98b14a7ea4896d786a532634] | 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>
(cherry picked from commit 40c9a15fcafe07616521a2c112c6143fc39c7ddf)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=fd311266e467c08e98b14a7ea4896d786a532634
---
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