From 783fb88f476c94d5d4f4b954f7053464d9a6dff5 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 10 Jan 2014 16:34:31 +0000 Subject: 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. Signed-off-by: Ross Burton Signed-off-by: Saul Wold --- meta/classes/cmake.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta') diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 1dc406d253..3ac3fcc53d 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -1,4 +1,5 @@ DEPENDS_prepend = "cmake-native " +B = "${WORKDIR}/build" # We need to unset CCACHE otherwise cmake gets too confused CCACHE = "" -- cgit 1.2.3-korg