vlc | branch: master | Steve Lhomme <[email protected]> | 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 <[email protected]>

> 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to