mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-15 19:41:36 +08:00
update package setting to fix compile Error (#2780)
since SpineCppLite expose c-interface only and does not expose cpp interface c++ interperability is no-op and just causing compiler crash. So we could add linker flag to ensure SpineCppLite is build with C++ while removing c++ interperability mode
This commit is contained in:
parent
f037c05b73
commit
093b0d432d
@ -21,14 +21,14 @@ let package = Package(
|
||||
dependencies: [
|
||||
"SpineCppLite", "SpineShadersStructs"
|
||||
],
|
||||
path: "spine-ios/Sources/Spine",
|
||||
swiftSettings: [
|
||||
.interoperabilityMode(.Cxx)
|
||||
]
|
||||
path: "spine-ios/Sources/Spine"
|
||||
),
|
||||
.target(
|
||||
name: "SpineCppLite",
|
||||
path: "spine-ios/Sources/SpineCppLite"
|
||||
path: "spine-ios/Sources/SpineCppLite",
|
||||
linkerSettings: [
|
||||
.linkedLibrary("c++"),
|
||||
]
|
||||
),
|
||||
.systemLibrary(
|
||||
name: "SpineShadersStructs",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user