win,build: fix building from Windows SDK or VS console
Introduced in2f6d4b4b58and accidentally undone in19c896dd08. PR-URL: https://github.com/libuv/libuv/pull/1415 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
parent
f1e0fc43d1
commit
01b23314cc
@ -43,6 +43,9 @@ shift
|
||||
goto next-arg
|
||||
:args-done
|
||||
|
||||
if defined WindowsSDKDir goto select-target
|
||||
if defined VCINSTALLDIR goto select-target
|
||||
|
||||
@rem Look for Visual Studio 2017 only if explicitly requested.
|
||||
if "%target_env%" NEQ "vs2017" goto vs-set-2015
|
||||
echo Looking for Visual Studio 2017
|
||||
|
||||
Loading…
Reference in New Issue
Block a user