DRAFT opencv_3.%.bbappend: Configure with Python being used
This commit is contained in:
parent
e9dd120ccd
commit
b52841910e
|
@ -0,0 +1,6 @@
|
|||
# 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 ''}"
|
Loading…
Reference in New Issue