aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2020-08-17 19:51:11 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-08-17 19:52:52 -0700
commita52173a3e56553d7b795bcf3cdadcf6433117107 (patch)
tree33f15902a25589512761009775947e5b3ff19454 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentc7ec3a7e338cd8e58424a66d29162e9b6a5847f7 (diff)
downloadllvm-a52173a3e56553d7b795bcf3cdadcf6433117107.zip
llvm-a52173a3e56553d7b795bcf3cdadcf6433117107.tar.gz
llvm-a52173a3e56553d7b795bcf3cdadcf6433117107.tar.bz2
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. Differential revision: https://reviews.llvm.org/D85820
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions