summaryrefslogtreecommitdiff
path: root/classes/cmake.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-06-27 16:12:16 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-06-27 16:12:16 +0000
commit068ac1524d7ac8aebab84978317d363040b15b86 (patch)
treecee9a740716c2fc25b0c3acebb13def8619f0669 /classes/cmake.bbclass
parenta84de5b506e74ba0335ef2e9eff65b5c60be77fc (diff)
cmake.bbclass: use cross-compilation support with 2.6.0 (from Poky)
Diffstat (limited to 'classes/cmake.bbclass')
-rw-r--r--classes/cmake.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index 823635c24d..a9130f2a05 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -4,7 +4,8 @@ DEPENDS += " cmake-native "
inherit autotools
cmake_do_configure() {
- cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix}
+ cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
+ -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST}
}
EXPORT_FUNCTIONS do_configure