]> granicus.if.org Git - llvm/commit
[CMake] Make CMAKE_INSTALL_RPATH work again
authorJohn Brawn <john.brawn@arm.com>
Thu, 3 Nov 2016 13:55:04 +0000 (13:55 +0000)
committerJohn Brawn <john.brawn@arm.com>
Thu, 3 Nov 2016 13:55:04 +0000 (13:55 +0000)
commita0e0673b0f73cebabf73e8a7817e871ad54cb24f
tree5cfde9147c1c56cfa75ca83f823a92b7d7e6a8ee
parent77e7778b3e097ad88c71c7dac789e245c8f3e33a
[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
cmake/modules/AddLLVM.cmake