From bbb95e1cc662dfb57aa101bf11d106939de4f6ed Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Thu, 7 Dec 2023 13:33:45 -0500 Subject: [PATCH] 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. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 769816c..d3fa035 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -846,7 +846,7 @@ impl Config { } } - cmd.arg("--build").arg("."); + cmd.arg("--build").arg(&build); if !self.no_build_target { let target = self