Skip to content

Commit 27c2f2b

Browse files
committed
Remove cxx
1 parent ca11df6 commit 27c2f2b

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

Package.swift

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -350,16 +350,7 @@ let package = Package(
350350
path: "Dependencies/OpenAL/OpenALSoft",
351351
sources: openALSources,
352352
publicHeadersPath: "UnmodifiedSource/include",
353-
cxxSettings: openALCXXSettings,
354-
swiftSettings: {
355-
var array: [SwiftSetting] = []
356-
#if compiler(>=5.9)
357-
array.append(.interoperabilityMode(.Cxx))
358-
#else
359-
array.append(.unsafeFlags(["-enable-experimental-cxx-interop", "-cxx-interoperability-mode=default"]))
360-
#endif
361-
return array
362-
}(),
353+
cSettings: openALCSettings,
363354
linkerSettings: openALLinkerSettings),
364355
])
365356
#endif
@@ -433,8 +424,8 @@ var openALLinkerSettings: [LinkerSetting] {
433424
return array
434425
}
435426

436-
var openALCXXSettings: [CXXSetting] {
437-
var array: [CXXSetting] = []
427+
var openALCSettings: [CSetting] {
428+
var array: [CSetting] = []
438429

439430
array.append(.headerSearchPath("ConfiguredSource/macOS/", .when(platforms: [.macOS])))
440431
array.append(.headerSearchPath("ConfiguredSource/Windows/", .when(platforms: [.windows])))

0 commit comments

Comments
 (0)