File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2360,6 +2360,9 @@ function Build-ExperimentalRuntime {
23602360 CMAKE_Swift_COMPILER_WORKS = " YES" ;
23612361 CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
23622362 CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2363+
2364+ Swift_SDKROOT = (Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" );
2365+ SwiftCore_ARCH_SUBDIR = $Platform.Architecture.LLVMName ;
23632366 }
23642367
23652368 Build-CMakeProject `
@@ -2376,6 +2379,9 @@ function Build-ExperimentalRuntime {
23762379 CMAKE_Swift_COMPILER_WORKS = " YES" ;
23772380 CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
23782381 CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2382+
2383+ Swift_SDKROOT = (Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" );
2384+ SwiftCore_ARCH_SUBDIR = $Platform.Architecture.LLVMName ;
23792385 }
23802386
23812387 Build-CMakeProject `
@@ -2392,6 +2398,9 @@ function Build-ExperimentalRuntime {
23922398 CMAKE_Swift_COMPILER_WORKS = " YES" ;
23932399 CMAKE_STATIC_LIBRARY_PREFIX_Swift = " lib" ;
23942400 CMAKE_SYSTEM_NAME = $Platform.OS.ToString ();
2401+
2402+ Swift_SDKROOT = (Get-SwiftSDK $Platform.OS - Identifier " $ ( $Platform.OS ) Experimental" );
2403+ SwiftCore_ARCH_SUBDIR = $Platform.Architecture.LLVMName ;
23952404 }
23962405 }
23972406}
You can’t perform that action at this time.
0 commit comments