meta-ros/recipes-support/opencv/opencv_3.%.bbappend

7 lines
317 B
Plaintext

# Copyright (c) 2019 LG Electronics, Inc.
# Fix up PACKAGECONFIG if Python 2 is being used.
PACKAGECONFIG_prepend = "${@'python2 ' if d.getVar('ROS_PYTHON_VERSION', True) == '2' else ''}"
# _remove happens after _prepend.
PACKAGECONFIG_remove = "${@'python3' if d.getVar('ROS_PYTHON_VERSION', True) == '2' else ''}"