summaryrefslogtreecommitdiff
path: root/classes/cmake.bbclass
diff options
context:
space:
mode:
authorRobert Schuster <rschus@entw2.(none)>2009-03-20 13:37:16 +0100
committerRobert Schuster <rschus@entw2.(none)>2009-03-20 13:37:16 +0100
commit4b9f02e641d067ed20081cdb3dd97858520676a6 (patch)
tree5bbc85322b302d632dfa1753e4775ecd67d477fa /classes/cmake.bbclass
parenta17689c0c413caa2e59303f5a4fab0267200ea2f (diff)
cmake.bbclass: Put mandatory cmake option to end
Diffstat (limited to 'classes/cmake.bbclass')
-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