diff --git a/windows/build.ps1 b/windows/build.ps1 index abc139e2..d44aaaf4 100644 --- a/windows/build.ps1 +++ b/windows/build.ps1 @@ -77,6 +77,9 @@ if (-Not (Test-Path $GPG)) { # Override CMAKE_SYSTEM_VERSION if $WinSDK is set. if (-Not ([string]::IsNullOrEmpty($WinSDK))) { $CMAKE_SYSTEM_VERSION = "-DCMAKE_SYSTEM_VERSION='$WinSDK'" +} else if ($Arch -eq "ARM") { + # 10.0.261000.0 appear to have dropped ARM32 support + $CMAKE_SYSTEM_VERSION = "-DCMAKE_SYSTEM_VERSION='10.0.22621.0'" } else { $CMAKE_SYSTEM_VERSION = '' }