build-style/cmake: do not require ninja if make_cmd is make
This commit is contained in:
parent
e4e8c457e0
commit
97a4afa006
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
if [[ "$hostmakedepends" != *"cmake-bootstrap"* ]]; then
|
if [[ "$hostmakedepends" != *"cmake-bootstrap"* ]]; then
|
||||||
hostmakedepends+=" cmake ninja"
|
hostmakedepends+=" cmake"
|
||||||
|
fi
|
||||||
|
if [ "${make_cmd:-ninja}" = ninja ]; then
|
||||||
|
hostmakedepends+=" ninja"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue