diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-26 18:58:43 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-26 18:58:43 +1000 |
commit | f5e5a6fdf58f3135f3211135bfbcb6e70630309f (patch) | |
tree | 0d58ffe229df9ed907219537b78d2a88d10b331d /bindgen/rust/celeritas-sys/build.rs | |
parent | aa1eeebb1c05edc22335cbb48af5d42be20750c0 (diff) |
fix glfw get key range so it doesnt panic on mac
Diffstat (limited to 'bindgen/rust/celeritas-sys/build.rs')
-rw-r--r-- | bindgen/rust/celeritas-sys/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bindgen/rust/celeritas-sys/build.rs b/bindgen/rust/celeritas-sys/build.rs index 4f85bc6..097e26b 100644 --- a/bindgen/rust/celeritas-sys/build.rs +++ b/bindgen/rust/celeritas-sys/build.rs @@ -3,6 +3,7 @@ use std::path::PathBuf; fn main() { // Tell cargo to look for shared libraries in the specified directory + // TODO: we need to look based on OS println!("cargo:rustc-link-search=../../../build/macosx/arm64/debug"); // println!("cargo:rustc-link-search=../../build/windows/x64/debug"); @@ -10,6 +11,7 @@ fn main() { // shared library. println!("cargo:rustc-link-lib=core_static"); println!("cargo:rustc-link-lib=glfw3"); + // TODO: ^ use our locally compiled glfw // The bindgen::Builder is the main entry point // to bindgen, and lets you build up options for |