[PATCH] [llvm] cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Mon, 9 May 2022 18:47:26 +0000 (19:47 +0100)
commit0978bd8a0c0fa20200a51ea20c6098e1c05e33f8
treee3c190b04dda8f94441056e56b04760061a2da91
parentde303cdc71fdae2110cf47c17d37c7009510ab33
[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
llvm/cmake/modules/CMakeLists.txt