mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
force minimum version 3.5 for cmake policies in freetype
This commit is contained in:
parent
c551efb75c
commit
dabf52511f
@ -25,7 +25,7 @@ trait freetype
|
||||
shell()->cd($this->source_dir . '/build')
|
||||
->setEnv(['CFLAGS' => $this->getLibExtraCFlags(), 'LDFLAGS' => $this->getLibExtraLdFlags(), 'LIBS' => $this->getLibExtraLibs()])
|
||||
->execWithEnv(
|
||||
"cmake {$this->builder->makeCmakeArgs()} -DFT_DISABLE_HARFBUZZ=ON " .
|
||||
"cmake {$this->builder->makeCmakeArgs()} -DFT_DISABLE_HARFBUZZ=ON -DCMAKE_POLICY_VERSION_MINIMUM=3.5 " .
|
||||
'-DBUILD_SHARED_LIBS=OFF ' .
|
||||
"{$extra_libs}.."
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user