From 2105877d3c628bb544efd81c1cdfb7a7ec294fa2 Mon Sep 17 00:00:00 2001
From: Olivier Stasse <ostasse@laas.fr>
Date: Wed, 11 Jul 2018 23:56:47 +0200
Subject: [PATCH] [wip/roscontrol-sot] Adding path and arguments for erbium.

---
 roscontrol-sot/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/roscontrol-sot/Makefile b/roscontrol-sot/Makefile
index df1242ac..75e0919e 100644
--- a/roscontrol-sot/Makefile
+++ b/roscontrol-sot/Makefile
@@ -56,6 +56,13 @@ include ../../wip/sysdep/pal-distro.mk
 include ../../wip/sysdep/pal-distro.mk
 ifeq (palerbium,${PALDISTRO})
   CMAKE_PREFIX_PATH+=/opt/pal/erbium
+  CMAKE_ARGS+= -Dcontrol_toolbox_INCLUDE_DIRS=/opt/pal/erbium/include
+  PATH+=/opt/pal/erbium
+  PATH+=/bin
+  PATH+=/usr/bin
+  PATH+=/sbin
+  CXXFLAGS+="-I/opt/pal/erbium/include"
+  include ../../motion/ros-control-toolbox/depend.mk
 else
   include ../../wip/pal-hardware-interfaces/depend.mk
   include ../../wip/prf-ros-control/depend.mk
-- 
GitLab