From 6d35e3c8164415b492dbc02c0dea7f0f1faa650f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 5 Apr 2020 08:40:30 -0700 Subject: [PATCH] upm: Undefine PYTHON_EXECUTABLE cmake variable upm has its own mechanism to detect python that it has inherited from openCV, this was forked long time ago and never updated to latest from openCV, ideally it should be fixed to entertain PYTHON_EXECUTABLE variable passed from cmake but it does not and causes build errors, proper fix is left for upm community, here we ensure that we can still compile after OE-Core change cmake: fix Python executable with cmake Signed-off-by: Khem Raj Cc: Martin Kelly Cc: Richard Purdie --- meta-oe/recipes-extended/upm/upm_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb index 3ab6bbb6ba..2e8ec0e022 100644 --- a/meta-oe/recipes-extended/upm/upm_git.bb +++ b/meta-oe/recipes-extended/upm/upm_git.bb @@ -27,6 +27,8 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" inherit distutils3-base cmake pkgconfig +EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE" + # override this in local.conf to get needed bindings. # BINDINGS_pn-upm="python" # will result in only the python bindings being built/packaged.