From 69afda9166cabda02163a53f975ee669e6e99876 Mon Sep 17 00:00:00 2001 From: Christophe Troestler Date: Thu, 18 Jul 2024 19:17:50 +0200 Subject: [PATCH] Add the new configuration variable for Sundials v7.0.0 --- build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 08f5301..ba292ef 100644 --- a/build.rs +++ b/build.rs @@ -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")