From: Andreas Müller Date: Wed, 3 Dec 2014 12:40:54 +0000 (+0100) Subject: pythonnative: set PYTHON_EXECUTABLE so that cmake can find it X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31732 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66455b8a0758176996028bf23f04391c7baf8abd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pythonnative: set PYTHON_EXECUTABLE so that cmake can find it | CMake Error at /home/a.mueller/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): | Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) [RP: Added comment that is used by cmake] Signed-off-by: Andreas Müller Signed-off-by: Richard Purdie --- diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index fdd22bbc86b..97029dc525c 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -2,5 +2,7 @@ inherit python-dir PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" +# PYTHON_EXECUTABLE is used by cmake +PYTHON_EXECUTABLE="${PYTHON}" EXTRANATIVEPATH += "${PYTHON_PN}-native" DEPENDS += " ${PYTHON_PN}-native "