Skip to content

Commit

Permalink
Update to occt-sys 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Aug 29, 2024
1 parent a4f4398 commit 3e3a9c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/opencascade-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
9 changes: 3 additions & 6 deletions crates/opencascade-sys/build.rs
Original file line number Diff line number Diff line change
@@ -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] = &[
Expand All @@ -15,11 +15,8 @@ const OCCT_LIBS: &[&str] = &[
"TKGeomAlgo",
"TKBRep",
"TKPrim",
"TKSTEP",
"TKSTEPAttr",
"TKSTEPBase",
"TKSTEP209",
"TKSTL",
"TKDESTEP",
"TKDESTL",
"TKMesh",
"TKShHealing",
"TKFillet",
Expand Down

0 comments on commit 3e3a9c6

Please sign in to comment.