build-style/cmake: always depends on cmake in host

All packages that build with cmake build-style switched from
cmake-bootstrap to cmake. Remove the conditional.
This commit is contained in:
Đoàn Trần Công Danh 2021-06-06 10:00:33 +07:00 committed by Đoàn Trần Công Danh
parent 60e47b061a
commit c310295bfe

View file

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