From 068ac1524d7ac8aebab84978317d363040b15b86 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 27 Jun 2008 16:12:16 +0000 Subject: cmake.bbclass: use cross-compilation support with 2.6.0 (from Poky) --- classes/cmake.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/cmake.bbclass') 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 -- cgit v1.2.3