cmake: default to out-of-tree builds
Set B=${WORKDIR}/build in cmake.bbclass so that recipes using cmake.bbclass do out-of-tree builds by default. (From OE-Core rev: 783fb88f476c94d5d4f4b954f7053464d9a6dff5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
3c6fde03db
commit
d6ed40fa2a
|
@ -1,4 +1,5 @@
|
|||
DEPENDS_prepend = "cmake-native "
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
# We need to unset CCACHE otherwise cmake gets too confused
|
||||
CCACHE = ""
|
||||
|
|
Loading…
Reference in New Issue