cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerSamuel Thibault <sthibault@debian.org>
Tue, 16 Oct 2018 20:18:39 +0000 (21:18 +0100)
commit489249e9827a6eeb9efd45fe04f45d59b73c3211
tree53250c421a3bff396fc32f6959d318bf3f5d92ad
parent38b4c42a9be661c417a7bf1d3d16a5de7814364d
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