mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-11 19:05:35 +08:00
libtidy uses strange cmake options
This commit is contained in:
@@ -22,7 +22,7 @@ trait tidy
|
|||||||
}
|
}
|
||||||
FileSystem::resetDir($this->source_dir . '/build-dir');
|
FileSystem::resetDir($this->source_dir . '/build-dir');
|
||||||
shell()->cd($this->source_dir . '/build-dir')
|
shell()->cd($this->source_dir . '/build-dir')
|
||||||
->exec("cmake {$this->builder->makeCmakeArgs()} {$extra} -DSUPPORT_CONSOLE_APP=OFF ..")
|
->exec("cmake {$this->builder->makeCmakeArgs()} {$extra} -DBUILD_SHARED_LIB=OFF -DSUPPORT_CONSOLE_APP=OFF ..")
|
||||||
->exec("cmake --build . -j {$this->builder->concurrency}")
|
->exec("cmake --build . -j {$this->builder->concurrency}")
|
||||||
->exec('make install');
|
->exec('make install');
|
||||||
$this->patchPkgconfPrefix(['tidy.pc']);
|
$this->patchPkgconfPrefix(['tidy.pc']);
|
||||||
|
|||||||
Reference in New Issue
Block a user