diff --git a/roscontrol-sot/Makefile b/roscontrol-sot/Makefile index 75e0919efc919be1a80da47fb40c04b785fc241c..da084c0bfd002729b189a513e5d47089315e9711 100644 --- a/roscontrol-sot/Makefile +++ b/roscontrol-sot/Makefile @@ -56,11 +56,7 @@ 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 + SYSTEM_PREFIX+=/opt/pal/erbium CXXFLAGS+="-I/opt/pal/erbium/include" include ../../motion/ros-control-toolbox/depend.mk else