From 3e3a9c635d1544da8d7d59b51d11d8726841c58a Mon Sep 17 00:00:00 2001 From: Brian Schwind Date: Thu, 29 Aug 2024 23:58:33 +0900 Subject: [PATCH] Update to occt-sys 0.5 --- crates/opencascade-sys/Cargo.toml | 2 +- crates/opencascade-sys/build.rs | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/crates/opencascade-sys/Cargo.toml b/crates/opencascade-sys/Cargo.toml index c39b424f..42efab74 100644 --- a/crates/opencascade-sys/Cargo.toml +++ b/crates/opencascade-sys/Cargo.toml @@ -13,7 +13,7 @@ cxx = "1" [build-dependencies] cmake = "0.1" cxx-build = "1" -occt-sys = { version = "0.3", optional = true } +occt-sys = { version = "0.5", optional = true } [features] builtin = ["occt-sys"] diff --git a/crates/opencascade-sys/build.rs b/crates/opencascade-sys/build.rs index 3f9b0cf0..5c3a320e 100644 --- a/crates/opencascade-sys/build.rs +++ b/crates/opencascade-sys/build.rs @@ -1,7 +1,7 @@ /// Minimum compatible version of OpenCASCADE library (major, minor) /// /// Pre-installed OpenCASCADE library will be checked for compatibility using semver rules. -const OCCT_VERSION: (u8, u8) = (7, 6); +const OCCT_VERSION: (u8, u8) = (7, 8); /// The list of used OpenCASCADE libraries which needs to be linked with. const OCCT_LIBS: &[&str] = &[ @@ -15,11 +15,8 @@ const OCCT_LIBS: &[&str] = &[ "TKGeomAlgo", "TKBRep", "TKPrim", - "TKSTEP", - "TKSTEPAttr", - "TKSTEPBase", - "TKSTEP209", - "TKSTL", + "TKDESTEP", + "TKDESTL", "TKMesh", "TKShHealing", "TKFillet",