Skip to content

Commit bbb95e1

Browse files
committed
Change --build to use an absolute path
We do set the current directory, but it seems that some flavors of CMake on Windows still fail with the following: MSBUILD : error MSB1009: Project file does not exist. Change to using an absolute path which should improve this.
1 parent 584e1c1 commit bbb95e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ impl Config {
846846
}
847847
}
848848

849-
cmd.arg("--build").arg(".");
849+
cmd.arg("--build").arg(&build);
850850

851851
if !self.no_build_target {
852852
let target = self

0 commit comments

Comments
 (0)