mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
Fix UnixCMakeExecutor.php
This commit is contained in:
parent
1cf2a3dd3f
commit
37b9ccfaa8
@ -71,7 +71,7 @@ class UnixCMakeExecutor extends Executor
|
||||
*/
|
||||
public function addConfigureArgs(...$args): static
|
||||
{
|
||||
$this->configure_args = [$this->configure_args, ...$args];
|
||||
$this->configure_args = [...$this->configure_args, ...$args];
|
||||
return $this;
|
||||
}
|
||||
|
||||
@ -123,7 +123,6 @@ class UnixCMakeExecutor extends Executor
|
||||
'-DCMAKE_INSTALL_INCLUDE_DIR=include',
|
||||
'-DBUILD_SHARED_LIBS=OFF',
|
||||
"-DCMAKE_TOOLCHAIN_FILE={$this->makeCmakeToolchainFile()}",
|
||||
'..',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user