[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 31 Mar 2020 19:11:56 +0000 (20:11 +0100)
commit5a8c43e6e8ba48a90ac63677c87fc4bfb0f41394
tree83760cdd49b20e9593eb1048d859d1e6a97afb0d
parentb29132bcb08c447fcffda64b77e5ea14dd006fde
[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