mirror of https://github.com/BOINC/boinc.git
WINBUILD: Fix according to VS 2010 product tree changes.
This commit is contained in:
parent
d90e923860
commit
85baaa560a
|
@ -153,10 +153,11 @@ IF /I NOT "%PROCESSOR_ARCHITECTURE%"=="%BUILDPLATFORM%" GOTO :BUILDENVCROSS
|
|||
rem Building a native binary for the current platform.
|
||||
:BUILDENVNATIVE
|
||||
|
||||
IF /I NOT "%BUILDPLATFORM%"=="x86" (
|
||||
CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars%PROCESSOR_ARCHITECTURE%.bat" > NUL: 2> NUL:
|
||||
IF /I "%BUILDPLATFORM%"=="amd64" (
|
||||
CALL "%VCINSTALLDIR%\bin\%PROCESSOR_ARCHITECTURE%\vcvars64.bat" > NUL: 2> NUL:
|
||||
IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE
|
||||
) ELSE (
|
||||
)
|
||||
IF /I "%BUILDPLATFORM%"=="x86" (
|
||||
CALL "%VCINSTALLDIR%\bin\vcvars32.bat" > NUL: 2> NUL:
|
||||
IF ERRORLEVEL 1 GOTO :BUILDENVFAILURE
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue