Commit 1bd8bc7a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

contrib: adjust the CMAKE_SYSTEM_NAME for WindowsPhone and WindowsStore targets

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cd082449
......@@ -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
......
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