summaryrefslogtreecommitdiff
path: root/Package.swift
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-10-09 15:38:28 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-10-09 15:38:28 -0400
commit7dd4dee1961479393d167f8e718f0f5d5aa7d8f7 (patch)
treef5e0d7b6111f325ad40fa6e79201e61c01c4a7f0 /Package.swift
parentd563a7c91771f67bfbbcee106e40e11d286d423a (diff)
downloadsdl_ios-7dd4dee1961479393d167f8e718f0f5d5aa7d8f7.tar.gz
Target remote BiSON
Diffstat (limited to 'Package.swift')
-rw-r--r--Package.swift18
1 files changed, 3 insertions, 15 deletions
diff --git a/Package.swift b/Package.swift
index 345db023f..02f541ad0 100644
--- a/Package.swift
+++ b/Package.swift
@@ -11,6 +11,9 @@ let package = Package(
.library(name: "SmartDeviceLink", targets: ["SmartDeviceLink"]),
.library(name: "SmartDeviceLinkSwift", targets: ["SmartDeviceLinkSwift"])
],
+ dependencies: [
+ .package(name: "BiSON", url: "https://github.com/smartdevicelink/bson_c_lib.git", branch: "feature/swift_pm_support")
+ ],
targets: [
.target(
name: "SmartDeviceLink",
@@ -24,21 +27,6 @@ let package = Package(
dependencies: ["SmartDeviceLink"],
path: "SmartDeviceLinkSwift",
exclude: ["Info.plist"]
- ),
- .target(
- name: "BiSON",
- path: "bson_c_lib/src",
- exclude: [
- "Makefile.am",
- "Makefile.in",
- "emhashmap/LICENSE",
- "emhashmap/README.mkd",
- "emhashmap/Makefile.in",
- "emhashmap/Makefile.am",
- "emhashmap/runtests.sh",
- "emhashmap/tests.c"
- ],
- publicHeadersPath: "."
)
]
)