Skip to content

Commit 01b2331

Browse files
committed
win,build: fix building from Windows SDK or VS console
Introduced in libuv@2f6d4b4 and accidentally undone in libuv@19c896d. PR-URL: libuv#1415 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent f1e0fc4 commit 01b2331

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vcbuild.bat

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ shift
4343
goto next-arg
4444
:args-done
4545

46+
if defined WindowsSDKDir goto select-target
47+
if defined VCINSTALLDIR goto select-target
48+
4649
@rem Look for Visual Studio 2017 only if explicitly requested.
4750
if "%target_env%" NEQ "vs2017" goto vs-set-2015
4851
echo Looking for Visual Studio 2017

0 commit comments

Comments
 (0)