mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
11 lines
317 B
Rust
11 lines
317 B
Rust
use std::path::PathBuf;
|
|
|
|
pub fn build() {
|
|
let dst: PathBuf = cmake::Config::new("src/implementation/cpu_spqlios/spqlios-arithmetic").build();
|
|
|
|
let lib_dir: PathBuf = dst.join("lib");
|
|
|
|
println!("cargo:rustc-link-search=native={}", lib_dir.display());
|
|
println!("cargo:rustc-link-lib=static=spqlios");
|
|
}
|