Use relative rpath so that the installation and build dirs are relocatable.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 22 Feb 2014 00:54:14 +0000 (00:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 22 Feb 2014 00:54:14 +0000 (00:54 +0000)
commitc94f3ae0278dc781cd60051790bf8a8003a13873
tree3a9ef2723bd4f7df6c8ee2b9c76c4e3c26eab2a3
parent341149ae85564f1c101f7bf5a6f93b9b5bd58583
Use relative rpath so that the installation and build dirs are relocatable.

This works by asking cmake to use the "install rpath", but setting that rpath
to be relative.

Thanks a lot to Brad King for the help with CMake!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201921 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt