DRAFT [morty] depth-image-proc.inc: Fix up flags.make

This commit is contained in:
Herb Kuta 2019-05-28 18:23:38 -07:00
parent 1ba86a98fd
commit 980e795031
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# Copyright (c) 2019 LG Electronics, Inc.
# XXX Why doesn't the EIGEN3_INCLUDE_DIR that's passed to include_directories() end up in flags.make when using morty?
do_configure_append() {
if [ -e ${B}/CMakeFiles/depth_image_proc.dir/flags.make ]; then
sed -i -e '/^CXX_INCLUDES / s@$@ -I${STAGING_INCDIR}/eigen3@' ${B}/CMakeFiles/depth_image_proc.dir/flags.make
else
true
fi
}