Skip to content

Commit

Permalink
windows: add unicode support for pegtl.
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <devs@wabi.foundation>
  • Loading branch information
furby-tm committed Nov 2, 2024
1 parent 5a492ed commit 2e8d5b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "f4e8f15f64f4bae409a33132730b93e0edc7eb1353af28b9c1b8b488b3936c10",
"originHash" : "6e3e50a0855063f6b72de8ec03edca91c02e96570b715103296cfac4203713b2",
"pins" : [
{
"identity" : "galah",
Expand All @@ -10,6 +10,15 @@
"version" : "1.0.1"
}
},
{
"identity" : "icu",
"kind" : "remoteSourceControl",
"location" : "https://github.com/wabiverse/icu.git",
"state" : {
"revision" : "156397c5079b709c9e871d27794284dc4905a794",
"version" : "76.1.0"
}
},
{
"identity" : "metaversekit",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ let package = Package(
dependencies: [
// prepare for SwiftCrossUI, for a cross-platform UsdView.
// .package(url: "https://github.com/stackotter/swift-cross-ui", revision: "5c5d8c8"),
.package(url: "https://github.com/wabiverse/icu.git", from: "76.1.0"),
.package(url: "https://github.com/wabiverse/MetaverseKit", from: "1.8.5"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.5.3"),
.package(url: "https://github.com/apple/swift-syntax.git", from: "510.0.3"),
Expand Down Expand Up @@ -477,7 +478,8 @@ let package = Package(
.target(
name: "Pegtl",
dependencies: [
.target(name: "Arch")
.target(name: "Arch"),
.product(name: "icuin", package: "icu", condition: .when(platforms: [.windows])),
],
cxxSettings: [
.headerSearchPath("include/Pegtl"),
Expand Down

0 comments on commit 2e8d5b5

Please sign in to comment.