summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/cmake.bbclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index 7907f94cc6..b5b7b8655b 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -19,9 +19,10 @@ cmake_do_configure() {
fi
cmake ${OECMAKE_SOURCEPATH} \
- -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
-DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} \
- ${EXTRA_OECMAKE}
+ ${EXTRA_OECMAKE} \
+ -Wno-dev
}
EXPORT_FUNCTIONS do_configure