[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerJessica Clarke <jrtc27@debian.org>
Wed, 1 Apr 2020 15:23:55 +0000 (16:23 +0100)
commit484ec6c44aa82d926221b04b921ea6297fec740f
treec75f0c63520156e5d3beb9f884e49b3defe3f1c0
parent3af3418aaed877f77bc9b8c30a09c75ca6ae9d70
[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch
llvm/cmake/modules/CMakeLists.txt