commit | 3a876bdaec4dd8e43d21e0ce369f17db274431c0 | [log] [tgz] |
---|---|---|
author | Chris Bieneman <beanz@apple.com> | Tue Nov 01 17:44:58 2016 +0000 |
committer | Chris Bieneman <beanz@apple.com> | Tue Nov 01 17:44:58 2016 +0000 |
tree | f807b1a19a0f7b9e742ecaeeea29508c12121ad9 | |
parent | ee817c2c9606519d6d3eb04ef60a64c6b3afed83 [diff] |
[CMake] Fix rpath construction for out-of-tree builds This patch was produced in conjunction with Michał Górny. It should resolve the issues that were trying to be solved by D25304. This moves rpath handling into `llvm_add_library` and `add_llvm_executable` so that it is available to all projects using AddLLVM whether built in-tree or out-of-tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285714 91177308-0d34-0410-b5e6-96231b3b80d8