[vlc-commits] contrib: adjust the CMAKE_SYSTEM_NAME for WindowsPhone and WindowsStore targets

Steve Lhomme git at videolan.org
Fri Feb 12 11:21:43 CET 2016


vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Wed Feb 10 15:59:57 2016 +0100| [1bd8bc7ab5742577565ad1ccc0e034092a5f518a] | committer: Jean-Baptiste Kempf

contrib: adjust the CMAKE_SYSTEM_NAME for WindowsPhone and WindowsStore targets

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1bd8bc7ab5742577565ad1ccc0e034092a5f518a
---

 contrib/src/main.mak |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 1417262..d05e6d2 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -445,7 +445,15 @@ list:
 toolchain.cmake:
 	$(RM) $@
 ifdef HAVE_WIN32
+ifdef HAVE_WINDOWSPHONE
+	echo "set(CMAKE_SYSTEM_NAME WindowsPhone)" >> $@
+else
+ifdef HAVE_WINSTORE
+	echo "set(CMAKE_SYSTEM_NAME WindowsStore)" >> $@
+else
 	echo "set(CMAKE_SYSTEM_NAME Windows)" >> $@
+endif
+endif
 	echo "set(CMAKE_RC_COMPILER $(HOST)-windres)" >> $@
 endif
 ifdef HAVE_DARWIN_OS



More information about the vlc-commits mailing list