We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6962d24 commit a44dc0aCopy full SHA for a44dc0a
src/SPC/util/executor/UnixCMakeExecutor.php
@@ -45,6 +45,8 @@ public function build(string $build_pos = '..'): void
45
FileSystem::resetDir($this->build_dir);
46
}
47
48
+ $this->shell = $this->shell->cd($this->build_dir);
49
+
50
// config
51
$this->steps >= 1 && $this->shell->exec("cmake {$this->getConfigureArgs()} {$this->getDefaultCMakeArgs()} {$build_pos}");
52
@@ -227,6 +229,6 @@ private function makeCmakeToolchainFile(): string
227
229
228
230
private function initShell(): void
231
{
- $this->shell = shell()->cd($this->build_dir)->initializeEnv($this->library);
232
+ $this->shell = shell()->initializeEnv($this->library);
233
234
0 commit comments