File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2526,6 +2526,12 @@ function Build-Foundation {
2526
2526
@ ()
2527
2527
}
2528
2528
2529
+ $DispatchCMakeModules = if ($Static ) {
2530
+ Get-ProjectCMakeModules $Platform ExperimentalDispatch
2531
+ } else {
2532
+ Get-ProjectCMakeModules $Platform Dispatch
2533
+ }
2534
+
2529
2535
Build-CMakeProject `
2530
2536
- Src $SourceCache \swift- corelibs- foundation `
2531
2537
- Bin $FoundationBinaryCache `
@@ -2549,7 +2555,7 @@ function Build-Foundation {
2549
2555
" $BinaryCache \$ ( $Platform.Triple ) \usr\lib\libz.a"
2550
2556
};
2551
2557
ZLIB_INCLUDE_DIR = " $BinaryCache \$ ( $Platform.Triple ) \usr\include" ;
2552
- dispatch_DIR = ( Get-ProjectCMakeModules $Platform Dispatch) ;
2558
+ dispatch_DIR = $DispatchCMakeModules ;
2553
2559
SwiftSyntax_DIR = (Get-ProjectBinaryCache $HostPlatform Compilers);
2554
2560
_SwiftFoundation_SourceDIR = " $SourceCache \swift-foundation" ;
2555
2561
_SwiftFoundationICU_SourceDIR = " $SourceCache \swift-foundation-icu" ;
You can’t perform that action at this time.
0 commit comments