]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6520 #comment This should work for VS2013 #resolve
authorPeter Olsson <peter@olssononline.se>
Sat, 21 Feb 2015 10:21:27 +0000 (11:21 +0100)
committerPeter Olsson <peter@olssononline.se>
Sat, 21 Feb 2015 10:21:27 +0000 (11:21 +0100)
libs/win32/v8/build-v8.bat

index 7dfa75894696a0f22cd8ac8535ae29e21257a327..21b1af7db6239e24e950b6c6954eff903612ec4d 100644 (file)
@@ -23,7 +23,13 @@ IF "%1-%2" == "%LAST_BUILD_INFO%" (
 \r
 SET LIB_DEST_DIR=\r
 \r
-IF NOT "%4" == "" (\r
+IF "%VisualStudioVersion%" == "11.0" (\r
+       SET VS_VERSION=-Gmsvs_version=2012\r
+       ECHO Forcing build to use Visual Studio 2012\r
+) ELSE IF "%VisualStudioVersion%" == "12.0" (\r
+       SET VS_VERSION=-Gmsvs_version=2013\r
+       ECHO Forcing build to use Visual Studio 2013\r
+) ELSE IF NOT "%4" == "" (\r
        SET VS_VERSION=-Gmsvs_version=%4\r
        ECHO Forcing build to use Visual Studio %4\r
 )\r