vlc | branch: master | Steve Lhomme <[email protected]> | Mon Mar 4 13:17:51 2019 +0100| [828a65f3a1193d0e2e492c4139db5314b90a3b56] | committer: Steve Lhomme
contrib: only set the CMAKE_SYSTEM_NAME when building with MSVC > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=828a65f3a1193d0e2e492c4139db5314b90a3b56 --- contrib/src/main.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index 34ff009dd6..b4610bbc02 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -495,6 +495,7 @@ else endif echo "set(CMAKE_SYSTEM_PROCESSOR $(ARCH))" >> $@ ifdef HAVE_WIN32 +ifdef HAVE_VISUALSTUDIO ifdef HAVE_WINDOWSPHONE echo "set(CMAKE_SYSTEM_NAME WindowsPhone)" >> $@ else @@ -504,6 +505,7 @@ else echo "set(CMAKE_SYSTEM_NAME Windows)" >> $@ endif endif +endif ifdef HAVE_CROSS_COMPILE echo "set(CMAKE_RC_COMPILER $(WINDRES))" >> $@ endif _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
