mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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 <raj.khem@gmail.com> Cc: Martin Kelly <mkelly@xevo.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -27,6 +27,8 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
|
|||||||
|
|
||||||
inherit distutils3-base cmake pkgconfig
|
inherit distutils3-base cmake pkgconfig
|
||||||
|
|
||||||
|
EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE"
|
||||||
|
|
||||||
# override this in local.conf to get needed bindings.
|
# override this in local.conf to get needed bindings.
|
||||||
# BINDINGS_pn-upm="python"
|
# BINDINGS_pn-upm="python"
|
||||||
# will result in only the python bindings being built/packaged.
|
# will result in only the python bindings being built/packaged.
|
||||||
|
|||||||
Reference in New Issue
Block a user