Skip to content

Commit

Permalink
Restore the cargo:include directive (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 authored Jul 9, 2024
1 parent 96f3a86 commit 6388952
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ fn main() {
}

println!("cargo:rustc-link-search=native={}", out_dir.display());
println!(
"cargo:include={}/external/xmp_toolkit/public/include",
std::env::var("CARGO_MANIFEST_DIR").expect("Failed to get CARGO_MANIFEST_DIR")
);

xmp_config
.cpp(true)
Expand Down

0 comments on commit 6388952

Please sign in to comment.