build-style/cmake: support build with cmake-bootstrap

This commit is contained in:
Đoàn Trần Công Danh 2023-06-22 23:11:58 +07:00 committed by Đoàn Trần Công Danh
parent d8a1929628
commit 6b9c9c7dfa
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
if [ "$CHROOT_READY" ]; then
if [ "$pkgname" != cmake ]; then
hostmakedepends+=" cmake"
if [ "$pkgname" != cmake-bootstrap ]; then
hostmakedepends+=" cmake-bootstrap"
fi
if [ "${make_cmd:-ninja}" = ninja ]; then
hostmakedepends+=" ninja"