libtidy uses strange cmake options

This commit is contained in:
DubbleClick 2025-06-07 21:16:53 +07:00
parent 23be5484e3
commit e5f483de1d

View File

@ -22,7 +22,7 @@ trait tidy
}
FileSystem::resetDir($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('make install');
$this->patchPkgconfPrefix(['tidy.pc']);