commit | a0e0673b0f73cebabf73e8a7817e871ad54cb24f | [log] [tgz] |
---|---|---|
author | John Brawn <john.brawn@arm.com> | Thu Nov 03 13:55:04 2016 +0000 |
committer | John Brawn <john.brawn@arm.com> | Thu Nov 03 13:55:04 2016 +0000 |
tree | 5cfde9147c1c56cfa75ca83f823a92b7d7e6a8ee | |
parent | 77e7778b3e097ad88c71c7dac789e245c8f3e33a [diff] |
[CMake] Make CMAKE_INSTALL_RPATH work again r285714 made it so that when CMAKE_INSTALL_RPATH is set _install_rpath is not set, but that means INSTALL_RPATH gets set to an empty string which isn't what we want. Fix this by setting INSTALL_RPATH only when _install_rpath is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285908 91177308-0d34-0410-b5e6-96231b3b80d8