Unwanted prefix getting added to CMAKE_PREFIX_PATH

asked 2017-04-06 08:01:46 -0600

dharanikumar gravatar image

Hi, I am using ROS Indigo. The problem is very simple. I unset the CMAKE_PREFIX_PATH variable. I source /devel/setup.bash. I get an unwanted prefix /home/<user-name>/devel added to my CMAKE_PREFIX_PATH.

echo $CMAKE_PREFIX_PATH
/home/<user-name>/devel:/home/<user-name>/catkin_ws/devel:/opt/ros/indigo

I didn't do any changes to devel/setup.bash or devel/setup.sh. What could be the cause? and How to avoid it?

Thank you.

edit retag flag offensive close merge delete