aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2020-08-31 15:11:39 -0700
committerPetr Hosek <phosek@google.com>2020-08-31 20:06:21 -0700
commit3c7bfbd6831b2144229734892182d403e46d7baf (patch)
tree00c8ea69a3dccc8d48d331d98ecac11d079a2bf1 /llvm/lib/Support/VirtualFileSystem.cpp
parent63844c116a0acf8a75ebe4ed6f25fced3c655710 (diff)
downloadllvm-3c7bfbd6831b2144229734892182d403e46d7baf.zip
llvm-3c7bfbd6831b2144229734892182d403e46d7baf.tar.gz
llvm-3c7bfbd6831b2144229734892182d403e46d7baf.tar.bz2
[CMake] Use find_library for ncurses
Currently it is hard to avoid having LLVM link to the system install of ncurses, since it uses check_library_exists to find e.g. libtinfo and not find_library or find_package. With this change the ncurses lib is found with find_library, which also considers CMAKE_PREFIX_PATH. This solves an issue for the spack package manager, where we want to use the zlib installed by spack, and spack provides the CMAKE_PREFIX_PATH for it. This is a similar change as https://reviews.llvm.org/D79219, which just landed in master. Patch By: haampie Differential Revision: https://reviews.llvm.org/D85820
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions