From b583d086e0bc6c41f58080d1dbb1c2818ac03ace Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Thu, 12 Sep 2019 14:42:28 +0200
Subject: [PATCH] [wip/hpp-universal-robot] fix ROS finding of universal-robot

---
 hpp-universal-robot/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/hpp-universal-robot/Makefile b/hpp-universal-robot/Makefile
index b7805b75..89cc6aef 100644
--- a/hpp-universal-robot/Makefile
+++ b/hpp-universal-robot/Makefile
@@ -20,6 +20,7 @@ include ../../mk/language/c.mk
 include ../../mk/language/c++.mk
 include ../../mk/robotpkg.mk
 
-export PYTHONPATH=		$(word 1,${SYSTEM_PREFIX.ros-base})/lib/python${PYTHON_VERSION}/dist-packages
-export ROS_PACKAGE_PATH=	$(word 1,${SYSTEM_PREFIX.ros-base}):${PREFIX}
-CMAKE_PREFIX_PATH+=		$(word 1,${SYSTEM_PREFIX.ros-base})
+export PYTHONPATH=		$(word 1,${PREFIX.ros-universal-robot})/lib/python${PYTHON_VERSION}/dist-packages:$(word 1,${PREFIX.ros-universal-robot})/lib/python${PYTHON_VERSION}/site-packages
+export ROS_PACKAGE_PATH=	$(word 1,${PREFIX.ros-universal-robot}):${PREFIX}
+PKG_CONFIG_PATH=		$(word 1,${PREFIX.ros-universal-robot})/lib/pkgconfig
+CMAKE_PREFIX_PATH+=		$(word 1,${PREFIX.ros-universal-robot})
-- 
GitLab