Skip to content

Commit

Permalink
Fix config.sh: 'dds/dds.h' not found building cyclocut on Linux with …
Browse files Browse the repository at this point in the history
…Foxy
  • Loading branch information
JEnoch committed Mar 31, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 6040fd0 commit a9bee5c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config.sh
Original file line number Diff line number Diff line change
@@ -48,15 +48,15 @@ else
else
make install
fi
else
else
if [[ -e /usr/local/include/dds/ddsc/dds_public_impl.h ]];
then
CYCLONE_INCLUDE=/usr/local/include
CYCLONE_LIB=/usr/local/lib
export CYCLONE_INCLUDE=/usr/local/include
export CYCLONE_LIB=/usr/local/lib
elif [[ -e /opt/ros/$ROS_DISTRO/include/dds/ddsc/dds_public_impl.h ]];
then
CYCLONE_INCLUDE=/opt/ros/$ROS_DISTRO/include
CYCLONE_LIB=/opt/ros/$ROS_DISTRO/lib/`arch`-$OSTYPE
export CYCLONE_INCLUDE=/opt/ros/$ROS_DISTRO/include
export CYCLONE_LIB=/opt/ros/$ROS_DISTRO/lib/`arch`-$OSTYPE
fi
echo "Found Cyclone installed at $CYCLONE_INCLUDE and $CYCLONE_LIB, skipping installation..."
fi

0 comments on commit a9bee5c

Please sign in to comment.