Have Mac builds use @rpath when supported in CMake

The -install_name linker flag will use "@rpath/" when supported in CMake
which is the recommended usage for dynamic libraries on Mac OSX.

llvm-svn: 260300
GitOrigin-RevId: 89d9b333b0759fc32a35dd595ea9fa5d39d2ae7e
2 files changed
tree: 86172c26a968c9b436dc9f01ac128721392d5176
  1. offload/
  2. runtime/
  3. testsuite/
  4. www/
  5. CMakeLists.txt
  6. CREDITS.txt
  7. LICENSE.txt