Skip to content

Commit 9519d51

Browse files
committed
Attempt to remove need for dev packages
1 parent 59823c3 commit 9519d51

File tree

19 files changed

+14274
-7
lines changed

19 files changed

+14274
-7
lines changed

Package.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,15 @@ let package = Package(
245245
sources: openALSources,
246246
publicHeadersPath: "UnmodifiedSource/include",
247247
cxxSettings: openALCXXSettings,
248+
swiftSettings: {
249+
var array: [SwiftSetting] = []
250+
#if compiler(>=5.9)
251+
array.append(.interoperabilityMode(.Cxx))
252+
#else
253+
array.append(.unsafeFlags(["-enable-experimental-cxx-interop", "-cxx-interoperability-mode=default"]))
254+
#endif
255+
return array
256+
}(),
248257
linkerSettings: openALLinkerSettings),
249258
])
250259
#endif

0 commit comments

Comments
 (0)