forked from zhtut/CFURLSessionInterface
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
23 lines (21 loc) · 1.03 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
// 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(.v11), .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")
]),
])