Skip to content

Commit

Permalink
Ignore CMakeLists.txt in Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle committed Apr 9, 2024
1 parent c07d968 commit f309faf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ let package = Package(
targets: [
.target(
name: "WebDriver",
path: "Sources/WebDriver"),
path: "Sources/WebDriver",
exclude: ["CMakeLists.txt"]),
.target(
name: "TestsCommon",
path: "Tests/Common"),
Expand All @@ -30,12 +31,12 @@ package.targets += [
.target(
name: "WinAppDriver",
dependencies: ["WebDriver"],
path: "Sources/WinAppDriver"),
path: "Sources/WinAppDriver",
exclude: ["CMakeLists.txt"]),
.testTarget(
name: "WinAppDriverTests",
dependencies: ["TestsCommon", "WebDriver", "WinAppDriver"],
// Ignore "LNK4217: locally defined symbol imported" spew due to SPM library support limitations
linkerSettings: [ .unsafeFlags(["-Xlinker", "-ignore:4217"]) ]),
]
#endif

0 comments on commit f309faf

Please sign in to comment.