Skip to content

Commit 3500856

Browse files
committed
Make sure that cmake generate build files in current dir
1 parent c4a60dd commit 3500856

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,9 @@ impl Config {
571571
}
572572

573573
cmd.arg(&self.path).current_dir(&build);
574+
575+
cmd.arg("-B").arg(".");
576+
574577
let mut is_ninja = false;
575578
if let Some(ref generator) = generator {
576579
is_ninja = generator.to_string_lossy().contains("Ninja");

0 commit comments

Comments
 (0)