DRAFT cv-bridge-2.1.0.inc: Fixup dependencies

This commit is contained in:
Herb Kuta 2019-03-25 16:14:11 -07:00
parent 4678eb810b
commit a02a5e5fb3
1 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,12 @@
# Copyright (c) 2019 LG Electronics, Inc.
ROS_BUILD_DEPENDS_remove = "python-numpy"
ROS_BUILD_DEPENDS_remove = "python3-numpy"
ROS_BUILDTOOL_DEPENDS += " \
${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') != 'python3' else ''}"