[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Tue, 25 Feb 2020 14:08:36 +0000 (14:08 +0000)
commitf163928162a1fcd76ef7d282275a9cd183d927f7
tree377718da8ed2bc1194c4b287ebad08b71da209bd
parentdfe7404f5bb235fad1e9a5997af9247677d19bd6
[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
cmake/modules/CMakeLists.txt