GEMLA/gemla/build.rs
2024-03-31 15:53:47 -07:00

11 lines
519 B
Rust

fn main() {
// Replace this with the path to the directory containing `fann.lib`
let lib_dir = "/opt/homebrew/Cellar/fann/2.2.0/lib";
println!("cargo:rustc-link-search=native={}", lib_dir);
println!("cargo:rustc-link-lib=dylib=fann");
// Use `dylib=fann` instead of `static=fann` if you're linking dynamically
// If there are any additional directories where the compiler can find header files, you can specify them like this:
// println!("cargo:include={}", path_to_include_directory);
}