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