From 39d280b2beab92073a3adb3dadb50c0ea5054e96 Mon Sep 17 00:00:00 2001 From: nil4 Date: Wed, 4 Dec 2024 13:37:19 +0100 Subject: [PATCH] Fix `buildbase.bat` for ARM64: - update version check to use **greater-than-or-equal**, i.e. to include VS 2019 **and** 2022 (or later versions) - select the `ARM64` environment (`x86_arm64` is not valid) --- builds/msvc/build/buildbase.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builds/msvc/build/buildbase.bat b/builds/msvc/build/buildbase.bat index d65a876a..4e3933fb 100644 --- a/builds/msvc/build/buildbase.bat +++ b/builds/msvc/build/buildbase.bat @@ -93,9 +93,9 @@ ECHO Configuration=StaticRelease msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=x64 %solution% >> %log% IF errorlevel 1 GOTO error -@REM Build ARM64 packages only for Visual studio 19 and later -IF %version% == 16 ( - CALL !environment! x86_arm64 > nul +@REM Build ARM64 packages only for Visual studio 2019 and later +IF %version% GEQ 16 ( + CALL !environment! ARM64 > nul ECHO Platform=ARM64 ECHO Configuration=DynDebug