Try fix some build issues.
This commit is contained in:
@@ -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"
|
||||
|
||||
1
build.rs
1
build.rs
@@ -12,6 +12,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
// 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")
|
||||
|
||||
Reference in New Issue
Block a user