ecbuild_append_to_rpathΒΆ
Append paths to the rpath.
ecbuild_append_to_rpath( RPATH_DIRS )
RPATH_DIRS
is a list of directories to append to CMAKE_INSTALL_RPATH
.
If a directory is absolute, simply append it.
If a directory is relative, build a platform-dependent relative path (using
@loader_path
on Mac OSX,$ORIGIN
on Linux and Solaris) or fall back to making it absolute by prepending the install prefix.