• Peter Wu's avatar
    RPATH: Add option for using $ORIGIN in build tree · 6114d85a
    Peter Wu authored
    This makes binaries independent of the build directory by not embedding
    the build directory via RPATH.  The tests are partially based on the
    existing RuntimePath test, but with the check moved into a POST_BUILD
    command such that it can be skipped when the platform lacks support.
    
    Fixes: #18413
    6114d85a
CMAKE_BUILD_RPATH_USE_ORIGIN.rst 250 Bytes