From 909662efe72b59d94e74884b62a113831ee659e3 Mon Sep 17 00:00:00 2001 From: Dmitry Rozhkov Date: Mon, 10 Apr 2017 09:56:37 +0300 Subject: [PATCH] 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 --- recipes-ros/vision-opencv/cv-bridge_1.11.15.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-ros/vision-opencv/cv-bridge_1.11.15.bb b/recipes-ros/vision-opencv/cv-bridge_1.11.15.bb index a268b9b..ad70ceb 100644 --- a/recipes-ros/vision-opencv/cv-bridge_1.11.15.bb +++ b/recipes-ros/vision-opencv/cv-bridge_1.11.15.bb @@ -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