From a7837aa0707321ee0a42ac63009436492cd09177 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Sat, 28 May 2016 21:58:53 -0400 Subject: [PATCH] Windows: Set CEF_VCVARS=none when using a custom VS install location --- tools/msvs_env.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/msvs_env.bat b/tools/msvs_env.bat index e9091b498..e7bb1cb8e 100644 --- a/tools/msvs_env.bat +++ b/tools/msvs_env.bat @@ -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%