Skip to content

Commit fb7868b

Browse files
StefanStojanovicaduh95
authored andcommitted
build,win: fix vs2022 compilation
PR-URL: #61530 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 39bea22 commit fb7868b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vcbuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ if %target_arch%==%msvs_host_arch% set vcvarsall_arg=%target_arch%
270270

271271
@rem Look for Visual Studio 2026
272272
:vs-set-2026
273-
if defined target_env if "%target_env%" NEQ "vs2026" goto msbuild-not-found
273+
if defined target_env if "%target_env%" NEQ "vs2026" goto vs-set-2022
274274
echo Looking for Visual Studio 2026
275275
@rem VCINSTALLDIR may be set if run from a VS Command Prompt and needs to be
276276
@rem cleared first as vswhere_usability_wrapper.cmd doesn't when it fails to

0 commit comments

Comments
 (0)