build-style/cmake: do not require ninja if make_cmd is make

This commit is contained in:
Đoàn Trần Công Danh 2021-03-17 08:11:31 +07:00
parent e4e8c457e0
commit 97a4afa006

View File

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