Skip to content

Commit

Permalink
ci: pin Windows SDK for ARM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Dec 2, 2024
1 parent fae3b4e commit 8b28f05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions windows/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
} elseif ($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 = ''
}
Expand Down

0 comments on commit 8b28f05

Please sign in to comment.