build-style/cmake: only depends on cmake for non-cmake package
* In the next change, we will remove it from cmake template entirely
This commit is contained in:
parent
6027990b48
commit
a653676c88
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
if [ "$CHROOT_READY" ]; then
|
||||
if [ "$pkgname" != cmake ]; then
|
||||
hostmakedepends+=" cmake"
|
||||
fi
|
||||
if [ "${make_cmd:-ninja}" = ninja ]; then
|
||||
hostmakedepends+=" ninja"
|
||||
fi
|
||||
|
|
|
@ -20,6 +20,7 @@ replaces="cmake-bootstrap>=0"
|
|||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
build_style=cmake
|
||||
hostmakedepends+=" cmake"
|
||||
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
|
||||
-DCMAKE_USE_SYSTEM_LIBRARIES=ON -DKWSYS_LFS_WORKS=1"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue