From add9e4e30e0b1e0f93479b43ce61953efb90985d Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Mon, 15 Aug 2011 17:16:31 +0100 Subject: cmake.bbclass, perlnative.bbclass: arrange for cmake to find perl-native When CMake is looking for perl, it only searches in the specific directories that it's told about and ignores ${PATH}. If perlnative is in use, ensure that the appropriate installation path is added to the list of places that cmake will look for perl, otherwise it won't ever be found. Signed-off-by: Phil Blundell --- meta/classes/perlnative.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/perlnative.bbclass') diff --git a/meta/classes/perlnative.bbclass b/meta/classes/perlnative.bbclass index 522344d9a..2211b7213 100644 --- a/meta/classes/perlnative.bbclass +++ b/meta/classes/perlnative.bbclass @@ -1,2 +1,3 @@ PATH_prepend = "${STAGING_BINDIR_NATIVE}/perl-native:" DEPENDS += "perl-native" +OECMAKE_PERLNATIVE_DIR = "${STAGING_BINDIR_NATIVE}/perl-native" -- cgit v1.2.3