OSDN Git Service

Revert "[CMake] Don't enable BUILD_WITH_INSTALL_RPATH when using custom build rpath"
authorRaul Tambre <raul@tambre.ee>
Fri, 8 Jan 2021 17:54:52 +0000 (19:54 +0200)
committerRaul Tambre <raul@tambre.ee>
Fri, 8 Jan 2021 17:59:20 +0000 (19:59 +0200)
commit913c430403b52b9336ed93fabbac363a3e18536a
tree0253f6fb90b2a5a706a985f090e78bab2cf60246
parentc493e9216bd1700577b209a0e2d290145653e40d
Revert "[CMake] Don't enable BUILD_WITH_INSTALL_RPATH when using custom build rpath"

This reverts commit 0ebc1fb29f278db0665423f15c53e6ee9601dddb.

The behaviour should have been the same as before unless specifying CMAKE_BUILD_RPATH,
which was previously broken.
However, this seems to have broken builds for some people that don't specify it.
Reverting until I can investigate.

Differential Revision: https://reviews.llvm.org/D94319
llvm/cmake/modules/AddLLVM.cmake