DRAFT opencv_3.%.bbappend: Configure with Python being used
This commit is contained in:
parent
bf5bf7e0ac
commit
0fdbf7282d
|
@ -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