Fix search for headers and libraries via LLVM_HOME (#21084)
authorOmair Majid <omajid@redhat.com>
Tue, 20 Nov 2018 00:32:13 +0000 (19:32 -0500)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 20 Nov 2018 00:32:13 +0000 (01:32 +0100)
commit38d357050aaf50d6346fb4c1490cb515606791c8
tree8281246ad6b01a58f8c010b7570bdc3c8615e1cc
parent8fd089e6600befc4cf25ae9f95529429e4763773
Fix search for headers and libraries via LLVM_HOME (#21084)

Commit b89e2305 (PR #18873) renamed WITH_LLDB_LIBS to LLDB_LIB_DIR and
WITH_LLDB_INCLUDES to LLDB_INCLUDE_DIR. But it forgot to update the
usage of these variables in some find_library and find_path calls.

As a result, setting LLVM_HOME is no longer enough to compile coreclr on
platforms with non-standard locations for lldb. This commit fixes that.
src/ToolBox/SOS/lldbplugin/CMakeLists.txt