Windows: Set CEF_VCVARS=none when using a custom VS install location
This commit is contained in:
parent
769150e178
commit
99bf1b8458
|
@ -22,6 +22,7 @@ if "%ARGSOK%" == "F" (
|
||||||
:: In case vcvars is already provided via the environment.
|
:: In case vcvars is already provided via the environment.
|
||||||
set vcvars="%CEF_VCVARS%"
|
set vcvars="%CEF_VCVARS%"
|
||||||
if exist %vcvars% goto found_vcvars
|
if exist %vcvars% goto found_vcvars
|
||||||
|
if %vcvars% == "none" goto found_vcvars
|
||||||
|
|
||||||
if "%1" == "win64" goto check_win64
|
if "%1" == "win64" goto check_win64
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ goto end
|
||||||
:found_vcvars
|
:found_vcvars
|
||||||
echo vcvars:
|
echo vcvars:
|
||||||
echo %vcvars%
|
echo %vcvars%
|
||||||
call %vcvars%
|
if not %vcvars% == "none" call %vcvars%
|
||||||
|
|
||||||
echo PATH:
|
echo PATH:
|
||||||
echo %PATH%
|
echo %PATH%
|
||||||
|
|
Loading…
Reference in New Issue