Windows: Set CEF_VCVARS=none when using a custom VS install location

This commit is contained in:
Marshall Greenblatt 2016-05-28 21:58:53 -04:00
parent 4786cb735e
commit a7837aa070
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ if "%ARGSOK%" == "F" (
:: In case vcvars is already provided via the environment.
set vcvars="%CEF_VCVARS%"
if exist %vcvars% goto found_vcvars
if %vcvars% == "none" goto found_vcvars
if "%1" == "win64" goto check_win64
@ -47,7 +48,7 @@ goto end
:found_vcvars
echo vcvars:
echo %vcvars%
call %vcvars%
if not %vcvars% == "none" call %vcvars%
echo PATH:
echo %PATH%