File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 4
4
import Foundation
5
5
import PackageDescription
6
6
7
- // https://github.com/llvm/llvm-project/issues/48757
8
- let clangEnumFixSetting = CSetting . unsafeFlags ( [ " -Wno-elaborated-enum-base " ] , . when( platforms: [ . linux] ) )
9
-
10
7
let openGraphShimsTarget = Target . target (
11
8
name: " OpenGraphShims "
12
9
)
@@ -47,20 +44,14 @@ let package = Package(
47
44
// The SwiftPM support for such usage is still in progress.
48
45
. target(
49
46
name: " _OpenGraph " ,
50
- cSettings: [
51
- clangEnumFixSetting,
52
- . unsafeFlags( [ " -I " , includePath] ) ,
53
- . define( " __COREFOUNDATION_FORSWIFTFOUNDATIONONLY__ " , to: " 1 " ) ,
54
- ] ,
55
47
cxxSettings: [
56
48
. unsafeFlags( [ " -I " , includePath] ) ,
57
49
. define( " __COREFOUNDATION_FORSWIFTFOUNDATIONONLY__ " , to: " 1 " ) ,
58
50
]
59
51
) ,
60
52
. target(
61
53
name: " OpenGraph " ,
62
- dependencies: [ " _OpenGraph " ] ,
63
- cSettings: [ clangEnumFixSetting]
54
+ dependencies: [ " _OpenGraph " ]
64
55
) ,
65
56
openGraphShimsTarget,
66
57
openGraphTestTarget,
You can’t perform that action at this time.
0 commit comments