diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-06-27 16:12:16 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-06-27 16:12:16 +0000 |
commit | 068ac1524d7ac8aebab84978317d363040b15b86 (patch) | |
tree | cee9a740716c2fc25b0c3acebb13def8619f0669 /classes/cmake.bbclass | |
parent | a84de5b506e74ba0335ef2e9eff65b5c60be77fc (diff) |
cmake.bbclass: use cross-compilation support with 2.6.0 (from Poky)
Diffstat (limited to 'classes/cmake.bbclass')
-rw-r--r-- | classes/cmake.bbclass | 3 |
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 |