Fix build failing on macOS
This commit is contained in:
parent
8cf39abcef
commit
05d3606100
@ -8,6 +8,20 @@
|
|||||||
|
|
||||||
import PackageDescription
|
import PackageDescription
|
||||||
|
|
||||||
|
/// The dependencies.
|
||||||
|
var dependencies: [Package.Dependency] = [
|
||||||
|
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0")
|
||||||
|
]
|
||||||
|
|
||||||
|
#if os(Linux)
|
||||||
|
dependencies += [
|
||||||
|
.package(url: "https://github.com/stephencelis/CSQLite", from: "3.50.4"),
|
||||||
|
.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.15.3", traits: [.defaults, "SQLiteSwiftCSQLite"])
|
||||||
|
]
|
||||||
|
#else
|
||||||
|
dependencies.append(.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.15.3"))
|
||||||
|
#endif
|
||||||
|
|
||||||
/// The meta-sqlite package is part of the Aparoksha project.
|
/// The meta-sqlite package is part of the Aparoksha project.
|
||||||
let package = Package(
|
let package = Package(
|
||||||
name: "meta-sqlite",
|
name: "meta-sqlite",
|
||||||
@ -21,11 +35,7 @@ let package = Package(
|
|||||||
targets: ["MetaSQLite"]
|
targets: ["MetaSQLite"]
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: dependencies,
|
||||||
.package(url: "https://git.aparoksha.dev/aparoksha/meta", from: "0.1.0"),
|
|
||||||
.package(url: "https://github.com/stephencelis/CSQLite", from: "3.50.4"),
|
|
||||||
.package(url: "https://github.com/stephencelis/SQLite.swift", from: "0.15.3", traits: [.defaults, "SQLiteSwiftCSQLite"])
|
|
||||||
],
|
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "MetaSQLite",
|
name: "MetaSQLite",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user