Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Use Sleipnir backend
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul committed Feb 17, 2024
1 parent b78c4b6 commit 19cf630
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use cmake::Config;

fn main() -> miette::Result<()> {
let mut cmake_config = Config::new("..");
let optimizer_backend = "casadi";
let optimizer_backend = "sleipnir";

cmake_config
.profile("RelWithDebInfo")
Expand All @@ -24,6 +24,7 @@ fn main() -> miette::Result<()> {
cmake_config
.generator("Visual Studio 17 2022")
.define("CMAKE_GENERATOR_PLATFORM", "x64")
.define("BUILD_SHARED_LIBS", "OFF")
.cxxflag("/EHsc");
}
}
Expand Down

0 comments on commit 19cf630

Please sign in to comment.