How to change CMAKE_PREFIX_PATH

asked 2014-04-21 20:07:51 -0500

Maya gravatar image

Hellow,

I created a catkin_workspace that I moved somewhere else now and each time I restart my computer I have old directories path in the CMAKE_PREFIX_PATH environment variable. Is there a way to change that other than define it in the .bashrc ?

My catkin_ws was in /home/ros/catkin_ws and it's now in /home/ros/groovy_ws/catkin_ws. But CMAKE_PREFIX_PATH still have path with /home/ros/catkin_ws in and no /home/ros/groovy_ws/catkin_ws. I just want to know where and when is that variable defined and how to change other the bashrc so I don't have change my bashrc each time I create a catkin_make_isolated for example.

Thanks a lot !

edit retag flag offensive close merge delete