summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-03 20:41:24 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-03 20:41:24 +0000
commita308b53d3f43f9565bdf9cf0d90f29fe2e43e9a8 (patch)
treef988e0dae12047654243c6ed7eaacf5009a2fe77 /classes
parent5b1c6f85dcec1d83b10c3dd061606e421e75ddc0 (diff)
cmake bbclass: allow extra argument via EXTRA_OECMAKE
Diffstat (limited to 'classes')
-rw-r--r--classes/cmake.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index a9130f2a05..faa4768d90 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -5,7 +5,8 @@ inherit autotools
cmake_do_configure() {
cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
- -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST}
+ -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} \
+ ${EXTRA_OECMAKE}
}
EXPORT_FUNCTIONS do_configure