Installation problm with RPATH

An error of RPATH occurred during installation of TNL after software update:

...
-- Installing: /home/user/.local/bin/tnl-cuda-arch

CMake Error at src/Tools/cmake_install.cmake:50 (file):

  file RPATH_CHANGE could not write new RPATH:

  to the file:

    /home/user/.local/bin/tnl-cuda-arch

  The current RUNPATH is:

    /home/user/.openmpi/lib

  which does not contain:

    /home/user/Documents/tnl-dev-develop/Release/lib:

  as was expected.

Call Stack (most recent call first):

  src/cmake_install.cmake:45 (include)

  cmake_install.cmake:48 (include)

Makefile:73: recipe for target 'install' failed

make: *** [install] Error 1

Software after update:

Ubuntu 18.04

gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

cmake version 3.13.0-rc3

NVIDIA-SMI 415.13 Driver Version: 415.13 CUDA Version: 10.0

mpirun (Open MPI) 3.1.3

Edited by Jakub Klinkovský