mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
build,win: fix vs2022 compilation
PR-URL: https://github.com/nodejs/node/pull/61530 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
1 parent
39bea2236e
commit
fb7868ba98
1 file changed
+1
-1
+1
-1
@@ -270,7 +270,7 @@ if %target_arch%==%msvs_host_arch% set vcvarsall_arg=%target_arch%
|
||||
|
||||
@rem Look for Visual Studio 2026
|
||||
:vs-set-2026
|
||||
if defined target_env if "%target_env%" NEQ "vs2026" goto msbuild-not-found
|
||||
if defined target_env if "%target_env%" NEQ "vs2026" goto vs-set-2022
|
||||
echo Looking for Visual Studio 2026
|
||||
@rem VCINSTALLDIR may be set if run from a VS Command Prompt and needs to be
|
||||
@rem cleared first as vswhere_usability_wrapper.cmd doesn't when it fails to
|
||||
|
||||
Reference in new issue
Block a user