From 7117829e59e40766dfb0099ad77aeb938ed8a3cf Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Tue, 9 Jul 2024 12:34:37 +0530 Subject: [PATCH] feat: Added the include directive back --- 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)