Search cmake build root directory
This commit is contained in:
parent
ae3d529830
commit
a6f9fd17d5
|
@ -131,7 +131,7 @@ fn build_with_cmake() {
|
|||
.expect("Fail to build unicorn on Win32.");
|
||||
println!(
|
||||
"cargo:rustc-link-search={}",
|
||||
rust_build_path.join(conf).to_str().unwrap()
|
||||
rust_build_path.to_str().unwrap()
|
||||
);
|
||||
} else {
|
||||
// Most Unix-like systems
|
||||
|
|
Loading…
Reference in New Issue