We need to check the CMake RPATH settings, as users are having to export LD_LIBRARY_PATH explicitly after installing. Most likely, this can be fixed by setting CMAKE_BUILD_WITH_INSTALL_RPATH to TRUE here. Needs to be tested.
|
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) |