Skip to content

Commit

Permalink
Remove system module as target dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fran Fernandez committed Dec 11, 2017
1 parent 86f5d4f commit a2bab26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(name: "QRCodeGenerator", dependencies: ["QRCodeGenerator-Wrapper"]),
.target(name: "QRCodeGenerator-Wrapper", dependencies: ["QRCodeGenerator-CPP"]),
.target(name: "QRCodeGenerator-CPP", dependencies: []),
.testTarget(name: "QRCodeGeneratorTests", dependencies: ["QRCodeGenerator", "QRCodeGenerator-Wrapper"]),
],
Expand All @@ -23,7 +24,4 @@ let package = Package(

#if os(Linux)
package.dependencies.append(.package(url:"https://github.com/fjfdeztoro/SwiftNUStep", from: "0.0.2"))
package.targets.append(.target(name: "QRCodeGenerator-Wrapper", dependencies: ["QRCodeGenerator-CPP", "SwiftNUStep"]))
#else
package.targets.append(.target(name: "QRCodeGenerator-Wrapper", dependencies: ["QRCodeGenerator-CPP"]))
#endif

0 comments on commit a2bab26

Please sign in to comment.