summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-21 21:43:38 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-21 21:43:38 +0100
commitcb249ed2f0791d021593209cd000baaa9629fcf1 (patch)
tree340c22909aea1c59bf75f5893c2689da1f378d5d /meta/classes
parent0e0830109cea38de17a589ec2fd3a9184f489087 (diff)
downloadopenembedded-core-cb249ed2f0791d021593209cd000baaa9629fcf1.tar.gz
openembedded-core-cb249ed2f0791d021593209cd000baaa9629fcf1.tar.bz2
openembedded-core-cb249ed2f0791d021593209cd000baaa9629fcf1.zip
cmake.bbclass: Make sure EXTRA_OECMAKE has a sane default
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cmake.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index b972bd0037..019999165f 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -3,6 +3,8 @@ DEPENDS += " cmake-native "
# We want the staging and installing functions from autotools
inherit autotools
+EXTRA_OECMAKE ?= ""
+
cmake_do_configure() {
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}