vp-build/common/environment/build-style/cmake.sh
Đoàn Trần Công Danh a653676c88 build-style/cmake: only depends on cmake for non-cmake package
* In the next change, we will remove it from cmake template entirely
2021-07-02 07:28:04 +07:00

11 lines
210 B
Bash

if [ "$CHROOT_READY" ]; then
if [ "$pkgname" != cmake ]; then
hostmakedepends+=" cmake"
fi
if [ "${make_cmd:-ninja}" = ninja ]; then
hostmakedepends+=" ninja"
fi
fi
export CTEST_OUTPUT_ON_FAILURE=TRUE