aboutsummaryrefslogtreecommitdiff
path: root/install.bat
diff options
context:
space:
mode:
Diffstat (limited to 'install.bat')
-rw-r--r--install.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index cdbc6377..f0305ab4 100644
--- a/install.bat
+++ b/install.bat
@@ -547,7 +547,10 @@ local function get_msvc_env_setup_cmd()
547 local x64 = vars.UNAME_M=="x86_64" 547 local x64 = vars.UNAME_M=="x86_64"
548 548
549 -- 1. try visual studio command line tools of VS 2017 or higher 549 -- 1. try visual studio command line tools of VS 2017 or higher
550 local vsdir = get_visual_studio_directory_from_vswhere() 550 local vsdir, err = get_visual_studio_directory_from_vswhere()
551 if err then
552 print(" Error when finding Visual Studio directory from vswhere: "..err)
553 end
551 if vsdir then 554 if vsdir then
552 local vcvarsall = vsdir .. '\\VC\\Auxiliary\\Build\\vcvarsall.bat' 555 local vcvarsall = vsdir .. '\\VC\\Auxiliary\\Build\\vcvarsall.bat'
553 if exists(vcvarsall) then 556 if exists(vcvarsall) then