Can CMake do RPATH relocation for us?
CMake has a number of control variables that have RPATH in their names. And here the CMake maintainer says that "CMake knows how to edit the ELF format". Therefore we should investigate whether CMake relocate shared libraries for us, which we are currently doing by ad hoc scripts.