Skip to content

Commit 8989bec

Browse files
committed
Ignore CMakeLists in Package.swift
Tell SwiftPM to ignore the CMake files to quiet the build warnings.
1 parent 1ab2c65 commit 8989bec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ let package = Package(
5050
.product(name: "SystemPackage", package: "swift-system"),
5151
],
5252
path: "Sources/Subprocess",
53+
exclude: [ "CMakeLists.txt" ],
5354
swiftSettings: [
5455
.enableExperimentalFeature("StrictConcurrency"),
5556
.enableExperimentalFeature("NonescapableTypes"),
@@ -83,7 +84,8 @@ let package = Package(
8384

8485
.target(
8586
name: "_SubprocessCShims",
86-
path: "Sources/_SubprocessCShims"
87+
path: "Sources/_SubprocessCShims",
88+
exclude: [ "CMakeLists.txt" ]
8789
),
8890
]
8991
)

0 commit comments

Comments
 (0)