Skip to content

Commit

Permalink
Add the new configuration variable for Sundials v7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Jul 18, 2024
1 parent f4f54e9 commit 69afda9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ fn build_vendor_sundials(klu: &Library) -> (Library, &'static str) {

let mut config = cmake::Config::new("vendor");
config
.define("CMAKE_INSTALL_LIBDIR", "lib")
.define("CMAKE_INSTALL_BINDIR", "lib") // v7.1.0
.define("CMAKE_INSTALL_LIBDIR", "lib") // ≤ v7.0.0
.define("BUILD_STATIC_LIBS", static_libraries)
.define("BUILD_SHARED_LIBS", shared_libraries)
.define("BUILD_TESTING", "OFF")
Expand Down

0 comments on commit 69afda9

Please sign in to comment.