-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
28 lines (26 loc) · 1.17 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(name: "CFURLSessionInterface",
platforms: [
.iOS(.v9),
.tvOS(.v9),
.watchOS(.v4),
.macOS(.v10_13)
],
products: [
.library(name: "CFURLSessionInterface", targets: ["CFURLSessionInterface"]),
],
dependencies: [
.package(name: "curl", url: "https://github.com/zhtut/curl.git", "7.88.0"..."10.0.0")
],
targets: [
.target(name: "CFURLSessionInterface",
dependencies: [
"curl"
],
path: "CFURLSessionInterface",
linkerSettings: [
.linkedLibrary("z")
]),
])