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 authored Dec 7, 2023
1 parent c4a60dd commit 1f58d7a
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 @@ -847,7 +847,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 1f58d7a

Please sign in to comment.