File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ if (-Not (Test-Path $GPG)) {
78
78
if ($Arch -eq " ARM" -and [string ]::IsNullOrEmpty($WinSDK )) {
79
79
$WinSDK = ' 10.0.22621.0'
80
80
}
81
- # Override Windows SDK version if $WinSDK is set.
82
- if (-Not ([string ]::IsNullOrEmpty($WinSDK ))) {
83
- $Arch = " $Arch ,version=$WinSDK "
84
- }
85
81
86
82
Write-Host " WinSDK: $WinSDK "
87
83
Write-Host " Config: $Config "
@@ -112,6 +108,11 @@ New-Item -Type Directory "${OUTPUT}" -Force
112
108
New-Item - Type Directory " ${OUTPUT} \${Arch} " - Force
113
109
New-Item - Type Directory " ${OUTPUT} \${Arch} \${Type} " - force
114
110
111
+ # Override Windows SDK version if $WinSDK is set.
112
+ if (-Not ([string ]::IsNullOrEmpty($WinSDK ))) {
113
+ $Arch = " $Arch ,version=$WinSDK "
114
+ }
115
+
115
116
# Fetch and verify dependencies.
116
117
Push-Location ${BUILD}
117
118
try {
You can’t perform that action at this time.
0 commit comments