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>
Wed, 17 Oct 2018 09:00:09 +0000 (10:00 +0100)
commitdaa19a6f8044165c99351641ebc14039b62c2436
tree1fe696fda1945e569cf171b65e1e79bc6138af92
parentac2878f2a915393d7b39dd47eef3cf8a9547d168
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