From cfa6c4a5a16b781c972e44757a3c8917b4691d04 Mon Sep 17 00:00:00 2001 From: StefanStojanovic Date: Mon, 26 Jan 2026 15:39:47 +0100 Subject: [PATCH] build,win: fix vs2022 compilation --- vcbuild.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcbuild.bat b/vcbuild.bat index 7a505e923524bf..81bdc64d1dfd23 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -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