summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
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