From 6388952d801193c796ed867172c1f20d23101e2f Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Tue, 9 Jul 2024 20:02:00 +0530 Subject: [PATCH] Restore the `cargo:include` directive (#229) --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.rs b/build.rs index 398ee9f..af56b0f 100644 --- a/build.rs +++ b/build.rs @@ -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)