mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
Fix UnixCMakeExecutor.php
This commit is contained in:
@@ -71,7 +71,7 @@ class UnixCMakeExecutor extends Executor
|
|||||||
*/
|
*/
|
||||||
public function addConfigureArgs(...$args): static
|
public function addConfigureArgs(...$args): static
|
||||||
{
|
{
|
||||||
$this->configure_args = [$this->configure_args, ...$args];
|
$this->configure_args = [...$this->configure_args, ...$args];
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -123,7 +123,6 @@ class UnixCMakeExecutor extends Executor
|
|||||||
'-DCMAKE_INSTALL_INCLUDE_DIR=include',
|
'-DCMAKE_INSTALL_INCLUDE_DIR=include',
|
||||||
'-DBUILD_SHARED_LIBS=OFF',
|
'-DBUILD_SHARED_LIBS=OFF',
|
||||||
"-DCMAKE_TOOLCHAIN_FILE={$this->makeCmakeToolchainFile()}",
|
"-DCMAKE_TOOLCHAIN_FILE={$this->makeCmakeToolchainFile()}",
|
||||||
'..',
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user