diff --git a/mk/windoze/build-mg.bat b/mk/windoze/build-mg.bat index 0c3fcade..bb9169fc 100644 --- a/mk/windoze/build-mg.bat +++ b/mk/windoze/build-mg.bat @@ -15,10 +15,15 @@ GOTO SVNSECTION :SETVCVARS +IF EXIST "%VS90COMNTOOLS%..\..\" GOTO VC_Common IF EXIST "\Program Files\Microsoft Visual Studio 9.0\" GOTO VC_32 IF EXIST "\Program Files (x86)\Microsoft Visual Studio 9.0\" GOTO VC_64 goto SVNSECTION +:VC_Common +call "%VS90COMNTOOLS%..\..\vc\vcvarsall.bat" +goto SVNSECTION + :VC_32 ECHO 32 bit Windows detected... call "\Program Files\Microsoft Visual Studio 9.0\vc\vcvarsall.bat"