Skip to content

RPATH including external libraries

Stefano Camarda requested to merge cmake_RPATH into master

Added the following option to CMakeLists.txt:

SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

which adds to the install RPATH directories for external libraries which are outside the build tree. With this option there is no need to specify LD_LIBRARY_PATH at runtime.

Merge request reports