This commit is contained in:
Marc
2025-07-22 19:45:58 +07:00
committed by GitHub
parent 6962d24b52
commit a44dc0a5f6

View File

@@ -45,6 +45,8 @@ class UnixCMakeExecutor extends Executor
FileSystem::resetDir($this->build_dir);
}
$this->shell = $this->shell->cd($this->build_dir);
// config
$this->steps >= 1 && $this->shell->exec("cmake {$this->getConfigureArgs()} {$this->getDefaultCMakeArgs()} {$build_pos}");
@@ -227,6 +229,6 @@ CMAKE;
private function initShell(): void
{
$this->shell = shell()->cd($this->build_dir)->initializeEnv($this->library);
$this->shell = shell()->initializeEnv($this->library);
}
}