fixing pod
This commit is contained in:
@@ -19,7 +19,7 @@ let package = Package(
|
|||||||
name: "yoga",
|
name: "yoga",
|
||||||
dependencies: [],
|
dependencies: [],
|
||||||
path: "./yoga",
|
path: "./yoga",
|
||||||
publicHeadersPath: "./apple-public",
|
publicHeadersPath: "./swiftpm-support",
|
||||||
cxxSettings: [
|
cxxSettings: [
|
||||||
.headerSearchPath("../"),
|
.headerSearchPath("../"),
|
||||||
],
|
],
|
||||||
|
@@ -33,6 +33,7 @@ Pod::Spec.new do |spec|
|
|||||||
'-fPIC'
|
'-fPIC'
|
||||||
]
|
]
|
||||||
spec.source_files = 'yoga/**/*.{c,h,cpp}'
|
spec.source_files = 'yoga/**/*.{c,h,cpp}'
|
||||||
spec.public_header_files = 'yoga/apple-public/umbrella.h'
|
spec.exclude_files = 'yoga/swiftpm-support/*.h'
|
||||||
|
spec.public_header_files = 'yoga/{Yoga,YGEnums,YGMacros,YGNode,YGStyle,YGValue}.h'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#ifdef __OBJC__
|
#ifdef __OBJC__
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
#include "../YGEnums.h"
|
#include "../YGEnums.h"
|
||||||
@@ -16,4 +17,5 @@
|
|||||||
#include "../YGStyle.h"
|
#include "../YGStyle.h"
|
||||||
#include "../YGValue.h"
|
#include "../YGValue.h"
|
||||||
#include "../Yoga.h"
|
#include "../Yoga.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
Reference in New Issue
Block a user