diff options
-rw-r--r-- | meta/classes/cmake.bbclass | 2 |
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 " | |||
3 | # We want the staging and installing functions from autotools | 3 | # We want the staging and installing functions from autotools |
4 | inherit autotools | 4 | inherit autotools |
5 | 5 | ||
6 | EXTRA_OECMAKE ?= "" | ||
7 | |||
6 | cmake_do_configure() { | 8 | cmake_do_configure() { |
7 | cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \ | 9 | cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \ |
8 | -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE} | 10 | -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE} |