include mgba's include directory

This commit is contained in:
Corwin 2023-08-05 12:57:35 +01:00
parent f873ca2c6b
commit 59efa29225
No known key found for this signature in database

View file

@ -52,6 +52,7 @@ fn generate_bindings() -> MyError {
.allowlist_function("mLogCategoryName") .allowlist_function("mLogCategoryName")
.generate_cstr(true) .generate_cstr(true)
.derive_default(true) .derive_default(true)
.clang_arg("-I./mgba/include")
.generate()?; .generate()?;
let out_path = PathBuf::from(env::var("OUT_DIR")?); let out_path = PathBuf::from(env::var("OUT_DIR")?);