fix(sys): Correct cmake source path in build.rs
This commit is contained in:
parent
a23990c563
commit
1e85bb2d42
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ fn main() {
|
||||||
println!("cargo:rerun-if-changed=wrapper.h");
|
println!("cargo:rerun-if-changed=wrapper.h");
|
||||||
|
|
||||||
let out = PathBuf::from(env::var("OUT_DIR").unwrap());
|
let out = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||||
let whisper_root = out.join("whisper.cpp/");
|
let whisper_root = out.join("whisper.cpp");
|
||||||
|
|
||||||
if !whisper_root.exists() {
|
if !whisper_root.exists() {
|
||||||
std::fs::create_dir_all(&whisper_root).unwrap();
|
std::fs::create_dir_all(&whisper_root).unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue