Skip to content

Commit 55452e6

Browse files
committed
Add boost binary support for iOS and macOS
1 parent f7fa2d6 commit 55452e6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Package.resolved

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,18 @@ let package = Package(
3838
],
3939
dependencies: [
4040
.package(url: "https://github.com/OpenSwiftUIProject/OpenFoundation", from: "0.0.1"),
41+
.package(url: "https://github.com/Cogosense/iOSBoostFramework", from: "1.81.2"),
4142
],
4243
targets: [
4344
// FIXME: Merge into one target
4445
// OpenGraph is a C++ & Swift mix target.
4546
// The SwiftPM support for such usage is still in progress.
4647
.target(
4748
name: "_OpenGraph",
48-
dependencies: [.product(name: "OpenFoundation", package: "OpenFoundation")],
49+
dependencies: [
50+
.product(name: "OpenFoundation", package: "OpenFoundation"),
51+
.product(name: "boost", package: "iOSBoostFramework", condition: .when(platforms: [.macOS, .iOS])),
52+
],
4953
cSettings: [clangEnumFixSetting]
5054
),
5155
.target(

0 commit comments

Comments
 (0)