release-fix-intellij-update-support-version-range
parent
e0017cadec
commit
ebbe6e5af8
|
|
@ -1,6 +1,15 @@
|
|||
use std::path::Path;
|
||||
|
||||
use cmake::Config;
|
||||
|
||||
fn main() {
|
||||
const LLAMA_CMAKE_PATH: &str = "llama.cpp/CMakeLists.txt";
|
||||
|
||||
assert!(
|
||||
Path::new(LLAMA_CMAKE_PATH).exists(),
|
||||
"Please init submodules with `git submodule update --init --recursive` and try again"
|
||||
);
|
||||
|
||||
println!("cargo:rerun-if-changed=cc/*.h");
|
||||
println!("cargo:rerun-if-changed=cc/*.cc");
|
||||
println!("cargo:rustc-link-lib=llama");
|
||||
|
|
|
|||
Loading…
Reference in New Issue