File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Sources/SwiftBuildSupport Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,9 @@ import SPMBuildCore
22
22
import func TSCBasic. memoize
23
23
import func TSCBasic. topologicalSort
24
24
25
+ #if canImport(SwiftBuild)
25
26
import enum SwiftBuild. ProjectModel
27
+ #endif
26
28
27
29
/// The parameters required by `PIFBuilder`.
28
30
struct PIFBuilderParameters {
@@ -289,8 +291,6 @@ fileprivate final class PackagePIFBuilderDelegate: PackagePIFBuilder.BuildDelega
289
291
}
290
292
}
291
293
292
- #endif
293
-
294
294
fileprivate func buildAggregateProject(
295
295
packagesAndProjects: [ ( package : ResolvedPackage , project: ProjectModel . Project ) ] ,
296
296
observabilityScope: ObservabilityScope
@@ -394,6 +394,8 @@ fileprivate func buildAggregateProject(
394
394
return aggregateProject
395
395
}
396
396
397
+ #endif
398
+
397
399
public enum PIFGenerationError : Error {
398
400
case rootPackageNotFound, multipleRootPackagesFound
399
401
You can’t perform that action at this time.
0 commit comments