Correctly handling LD_LIBRARY_PATH and RPATH for LINUX
Right now the interactive version of malia renderer needs to locate the DLL (or shared library on Unices) of GLFW at runtime.
Although glfw.so
is installed in the same directory than malia (or pulse or pulsar or malia_rgb), executing
malia from the command line in Linux requires either
- to be in $MRF_DIR/bin/ to launch the rendering engine
- to modify the LD_LIBRARY_PATH by adding $MRF_DIR/bin/
This is not satisfactory and we shall modify the CMakelists.txt according to this to include more flexibility (cf. https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling)