Fix SPM warning: umbrella header for module 'libzstd' does not include header 'xxx.h'

dev
Lvv.me 2021-11-21 21:57:55 +08:00
parent c2c6a4ab40
commit ebf664b744
No known key found for this signature in database
GPG Key ID: 8843A4C0FE54B152
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
module libzstd {
umbrella header "../zstd.h"
module libzstd [extern_c] {
umbrella header "zstd-umbrella.h"
export *
}

View File

@ -0,0 +1 @@
#include "../zstd.h"