Skip to content

Commit 2020223

Browse files
committed
build: add missing dependencies
The `OrderedCollections` module has been more aggressively adopted in SPM. Update the dependencies to reflect this dependency.
1 parent 7ec5593 commit 2020223

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

Package.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ let package = Package(
314314
"Basics",
315315
"PackageLoading",
316316
"PackageModel",
317+
.product(name: "OrderedCollections", package: "swift-collections"),
317318
],
318319
exclude: ["CMakeLists.txt", "README.md"],
319320
swiftSettings: [
@@ -397,6 +398,7 @@ let package = Package(
397398
dependencies: [
398399
"Basics",
399400
"PackageGraph",
401+
.product(name: "OrderedCollections", package: "swift-collections"),
400402
],
401403
exclude: ["CMakeLists.txt"],
402404
swiftSettings: [
@@ -413,6 +415,7 @@ let package = Package(
413415
"SPMBuildCore",
414416
"SPMLLBuild",
415417
.product(name: "SwiftDriver", package: "swift-driver"),
418+
.product(name: "OrderedCollections", package: "swift-collections"),
416419
"DriverSupport",
417420
],
418421
exclude: ["CMakeLists.txt"],
@@ -438,6 +441,7 @@ let package = Package(
438441
dependencies: [
439442
"SPMBuildCore",
440443
"PackageGraph",
444+
.product(name: "OrderedCollections", package: "swift-collections"),
441445
],
442446
exclude: ["CMakeLists.txt"],
443447
swiftSettings: [
@@ -456,6 +460,7 @@ let package = Package(
456460
"PackageSigning",
457461
"SourceControl",
458462
"SPMBuildCore",
463+
.product(name: "OrderedCollections", package: "swift-collections"),
459464
],
460465
exclude: ["CMakeLists.txt"],
461466
swiftSettings: [
@@ -603,6 +608,7 @@ let package = Package(
603608
name: "swift-bootstrap",
604609
dependencies: [
605610
.product(name: "ArgumentParser", package: "swift-argument-parser"),
611+
.product(name: "OrderedCollections", package: "swift-collections"),
606612
"Basics",
607613
"Build",
608614
"PackageGraph",
@@ -706,6 +712,7 @@ let package = Package(
706712
"PackageSigning",
707713
"SourceControl",
708714
.product(name: "TSCTestSupport", package: "swift-tools-support-core"),
715+
.product(name: "OrderedCollections", package: "swift-collections"),
709716
"Workspace",
710717
"XCBuildSupport",
711718
],

Sources/Build/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ add_library(Build
3333
target_link_libraries(Build PUBLIC
3434
TSCBasic
3535
Basics
36+
SwiftCollections::OrderedCollections
3637
PackageGraph
3738
SPMBuildCore)
3839
target_link_libraries(Build PRIVATE

Sources/PackageGraph/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ add_library(PackageGraph
3939
Version+Extensions.swift
4040
VersionSetSpecifier.swift)
4141
target_link_libraries(PackageGraph PUBLIC
42+
SwiftCollections::OrderedCollections
4243
TSCBasic
4344
Basics
4445
PackageLoading

Sources/SPMBuildCore/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ target_link_libraries(SPMBuildCore PUBLIC
3434
TSCBasic
3535
TSCUtility
3636
Basics
37+
SwiftCollections::OrderedCollections
3738
PackageGraph)
3839

3940

Sources/Workspace/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ target_link_libraries(Workspace PUBLIC
3939
TSCUtility
4040
Basics
4141
SPMBuildCore
42+
SwiftCollections::OrderedCollections
4243
PackageFingerprint
4344
PackageGraph
4445
PackageLoading

Sources/XCBuildSupport/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ target_link_libraries(XCBuildSupport PUBLIC
1818
DriverSupport
1919
TSCBasic
2020
TSCUtility
21+
SwiftCollections::OrderedCollections
2122
PackageGraph
2223
)
2324

0 commit comments

Comments
 (0)