cv-bridge: disable python2 bindings
python2 bindings for Boost got disabled in OE upstream, so disable python2 support in cv-bridge that depends on them. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
This commit is contained in:
parent
3e201940f6
commit
909662efe7
|
@ -5,4 +5,8 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9de
|
|||
|
||||
DEPENDS = "boost opencv rosconsole sensor-msgs ${PYTHON_PN}-numpy-native"
|
||||
|
||||
# This option disables python2 support because we can't support both python2
|
||||
# and python3 since OE upstream has disabled python2 bindings in Boost.
|
||||
EXTRA_OECMAKE =+ "${@'-DANDROID=ON' if d.getVar('PYTHON_PN', True) != 'python3' else ''}"
|
||||
|
||||
require vision-opencv.inc
|
||||
|
|
Loading…
Reference in New Issue