[CMake] Hardcoded rpath?

I'm looking at an issue for Homebrew (OS X package manager) where the compiled libc++ tries to load libc++abi at "@rpath/libc++abi.1.dylib", resulting in a dyld error. The issue can be found at llvm: libcxx in LLVM formula sometimes causes problems · Issue #47149 · Homebrew/legacy-homebrew · GitHub

From what I can tell, this is a result of lines 561-564 of the CMakeLists.txt in the main LLVM repo:

set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
if (APPLE)
  set(CMAKE_INSTALL_NAME_DIR "@rpath")
  set(CMAKE_INSTALL_RPATH "@executable_path/../lib")

Is there a reason these variables are hardcoded?

-Alex

Ping?

Subbed.