From d56f3155add562f67aec256c272a4b5474c5801a Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Fri, 12 Sep 2025 18:48:37 +0200 Subject: [PATCH] Try fix some build issues. --- Cargo.toml | 2 +- build.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5fd2a5b..7414c9e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ documentation = "https://docs.rs/sitk-registration-sys" readme = "README.md" keywords = ["registration", "affine", "bspline", "transform"] categories = ["multimedia::images", "science"] -exclude = ["SimpleITK/Testing/*", "SimpleITK/Examples/*", "SimpleITK/Wrapping/*"] +exclude = ["SimpleITK/Testing/*", "SimpleITK/Examples/*"] [lib] name = "sitk_registration_sys" diff --git a/build.rs b/build.rs index d672937..10ca01e 100644 --- a/build.rs +++ b/build.rs @@ -12,6 +12,7 @@ fn main() -> Result<(), Box> { // use cmake to compile the SimpleITK C++ code let dst = cmake::Config::new(sitk_dir.join("SuperBuild")) .no_build_target(true) + .define("ITK_SKIP_PATH_LENGTH_CHECKS", "ON") .define("BUILD_EXAMPLES", "OFF") .define("BUILD_TESTING", "OFF") .define("WRAP_CSHARP", "OFF")