cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerRaspbian forward porter <root@raspbian.org>
Thu, 11 Jul 2019 03:08:05 +0000 (04:08 +0100)
commitcc2aca3b9294820e14be91b53733b8212a694bdd
tree3a3e9ffe4fe964e043160909b2a407ee2ee6927f
parentf94168dc7e70fb4174baec2d4b0ed798ee70f1cd
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