diff --git a/common/environment/build-style/cmake.sh b/common/environment/build-style/cmake.sh index 41f758a69a6..25bd8a388ec 100644 --- a/common/environment/build-style/cmake.sh +++ b/common/environment/build-style/cmake.sh @@ -1 +1,5 @@ -hostmakedepends+=" cmake" +if [ "$CHROOT_READY" ]; then + if [[ "$hostmakedepends" != *"cmake-bootstrap"* ]]; then + hostmakedepends+=" cmake" + fi +fi