Merge pull request #4 from SDWebImage/fix_swiftpm
Fix the libwebp SwiftPM include issue. Now using the same strcture to enerate public header search path, which make the user easy to use like `<webp/decode.h>`
This commit is contained in:
commit
413f22124f
|
@ -21,8 +21,9 @@ let package = Package(
|
||||||
.target(
|
.target(
|
||||||
name: "libwebp",
|
name: "libwebp",
|
||||||
dependencies: [],
|
dependencies: [],
|
||||||
path: "libwebp/src",
|
path: "libwebp",
|
||||||
publicHeadersPath: "webp",
|
sources: ["src"],
|
||||||
cSettings: [.headerSearchPath("../")])
|
publicHeadersPath: "src",
|
||||||
|
cSettings: [.headerSearchPath(".")])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue