fixin things!
This commit is contained in:
@@ -11,6 +11,7 @@ let package = Package(
|
||||
products: [
|
||||
.library(
|
||||
name: "yoga",
|
||||
type: .dynamic,
|
||||
targets: ["yoga"]
|
||||
),
|
||||
],
|
||||
@@ -30,8 +31,12 @@ let package = Package(
|
||||
// "-std=c++1y",
|
||||
// "-fPIC",
|
||||
// ])
|
||||
],
|
||||
linkerSettings: [
|
||||
.linkedFramework("Foundation"),
|
||||
.linkedFramework("UIKit", .when(platforms: [.iOS])),
|
||||
]
|
||||
)
|
||||
],
|
||||
cxxLanguageStandard: .cxx11
|
||||
cxxLanguageStandard: .cxx14
|
||||
)
|
||||
|
@@ -7,6 +7,16 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <Foundation/Foundation.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define YG_EXTERN_C_BEGIN extern "C" {
|
||||
#define YG_EXTERN_C_END }
|
||||
|
Reference in New Issue
Block a user