Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fb7868b

Browse filesBrowse files
StefanStojanovicaduh95
authored andcommitted
build,win: fix vs2022 compilation
PR-URL: #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>
1 parent 39bea22 commit fb7868b
Copy full SHA for fb7868b

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎vcbuild.bat‎

Copy file name to clipboardExpand all lines: vcbuild.bat
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.