Compile the source files. To change the install directory you must set cmake environment variable `${CMAKE_INSTALL_PREFIX}` (e.g. using command `ccmake ..` before calling `cmake ..`).
Its default value on UNIX-like/Linux systems is "/usr/local".
```
sudo apt-get install ros-indigo-csm
```sh
cmake ..
make
```
The package name contains "ROS" specific info, but you can use this as a standalone CSM library. It goes into these directory:
Finally, you can install the library (`sudo` is required only if `${CMAKE_INSTALL_PREFIX}` is a system diretory managed by administrator user root).