File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff 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] ) ) )
You can’t perform that action at this time.
0 commit comments