Skip to content

Commit

Permalink
Change --build to use an absolute path
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tgross35 committed Aug 19, 2024
1 parent 584e1c1 commit bbb95e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ impl Config {
}
}

cmd.arg("--build").arg(".");
cmd.arg("--build").arg(&build);

if !self.no_build_target {
let target = self
Expand Down

0 comments on commit bbb95e1

Please sign in to comment.