Note that CMake only models “rpath” as a concept (arguably CMake should have been named RUNTIME_LIBRARY_SEARCH_PATHS
or something, but that ship sailed long ago); linkers started defaulting to DT_RUNPATH
rather than DT_RPATH
ELF entries years ago (all with the same flags).
2 Likes