Revert "[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)"
authorVedant Kumar <vsk@apple.com>
Fri, 19 Aug 2016 21:00:40 +0000 (21:00 +0000)
committerVedant Kumar <vsk@apple.com>
Fri, 19 Aug 2016 21:00:40 +0000 (21:00 +0000)
commite62b54ed2aa8631ef023a199c0ab5174a18953b1
tree0bd16efffb3b1591445b752e4ab5a6f6b8c2db96
parenta533e514b8ed6966df4e4bf1d3d9ef7cbd3e786d
Revert "[lldb][cmake] Remove libclang as an lldbBase dependency (NFCI)"

This reverts commit r279296. Including LLDBDependencies breaks the
netbsd lldb bot because it exposes LLDB_USED_LIBS, which causes
lldb_link_common_libs to run to completion in unintended sites, which
results in a malformed call to target_link_libraries.

  http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd7/builds/5989

Thanks to Chris Bieneman for figuring this out!

llvm-svn: 279322
lldb/CMakeLists.txt
lldb/cmake/modules/AddLLDB.cmake