Catkin -DCMAKE_INSTALL_PREFIX flag
Hi,
according to the catkin tutorial I can specify the target location of the catkin package installation using the -DCMAKE_INSTALL_PREFIX flag:
catkin_make install -DCMAKE_INSTALL_PREFIX=<path>
I noticed that the specified target location is only respected if some packaged have to be build first. If everything is already built, the specified location is ignored and instead the one from last successful build is used.
To make it always work you have add --force-cmake to catkin_make:
catkin_make --force-cmake install -DCMAKE_INSTALL_PREFIX=<path>
Maybe it would be useful to mention that in the tutorial.
Regards - jgdo -