Skip to content

Commit 61cb1a9

Browse files
authored
Merge pull request #84096 from compnerd/computation
build.ps1: clean up SDKROOT references
2 parents 6da200f + 54ca896 commit 61cb1a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3618,7 +3618,7 @@ function Build-IndexStoreDB([Hashtable] $Platform) {
36183618
-Bin (Get-ProjectBinaryCache $Platform IndexStoreDB) `
36193619
-Platform $Platform `
36203620
-UseBuiltCompilers C,CXX,Swift `
3621-
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
3621+
-SwiftSDK $SDKROOT `
36223622
-BuildTargets default `
36233623
-Defines @{
36243624
BUILD_SHARED_LIBS = "NO";
@@ -3800,7 +3800,7 @@ function Build-Inspect([Hashtable] $Platform) {
38003800
-InstallTo $InstallPath `
38013801
-Platform $Platform `
38023802
-UseBuiltCompilers C,CXX,Swift `
3803-
-SwiftSDK (Get-SwiftSDK $Platform.OS) `
3803+
-SwiftSDK $SDKROOT `
38043804
-Defines @{
38053805
CMAKE_Swift_FLAGS = @(
38063806
"-Xcc", "-I$SDKROOT\usr\include",

0 commit comments

Comments
 (0)