Skip to content

Commit 111f0cd

Browse files
compnerdshahmishal
andcommitted
Update utils/build.ps1
Co-authored-by: Mishal Shah <[email protected]> (cherry picked from commit eb6cd28)
1 parent 989cf45 commit 111f0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ function Build-CMakeProject {
867867

868868
if ($UseBuiltCompilers.Contains("Swift")) {
869869
$env:Path = "$($HostArch.SDKInstallRoot)\usr\bin;$($HostArch.BinaryCache)\cmark-gfm-0.29.0.gfm.13\src;$($HostArch.ToolchainInstallRoot)\usr\bin;${env:Path}"
870-
} else if ($UsePinnedCompilers.Contains("Swift")) {
870+
} elseif ($UsePinnedCompilers.Contains("Swift")) {
871871
$env:Path = "$(Get-PinnedToolchainRuntime);${env:Path}"
872872
}
873873
Invoke-Program cmake.exe @cmakeGenerateArgs

0 commit comments

Comments
 (0)