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>
Fri, 2 Nov 2018 02:33:32 +0000 (02:33 +0000)
commit284ba5481d8d8051166d8cdf4024f871cc38a0ce
treeb8eb78985f4c2a9d6f4bc976caebd5de572210da
parent59a84a715a2fdb431425949069d338519ae5494c
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