From 980e7950312092c85ca9cd5050569d907aa3b0fe Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Tue, 28 May 2019 18:23:38 -0700 Subject: [PATCH] DRAFT [morty] depth-image-proc.inc: Fix up flags.make --- includes-ros1/image-pipeline/depth-image-proc.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 includes-ros1/image-pipeline/depth-image-proc.inc diff --git a/includes-ros1/image-pipeline/depth-image-proc.inc b/includes-ros1/image-pipeline/depth-image-proc.inc new file mode 100644 index 0000000..1afde21 --- /dev/null +++ b/includes-ros1/image-pipeline/depth-image-proc.inc @@ -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 +}