I don't think we should be adding more CMake hacks in lldb when llvm is supposed to handle this.  Why don't the existing lines work?<br><div class="gmail_quote"><div dir="ltr">On Sat, Apr 30, 2016 at 4:24 PM Kamil Rytarowski <<a href="mailto:n54@gmx.com">n54@gmx.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">krytarowski added a comment.<br>
<br>
I had this working with 2.8:<br>
<br>
  --- source/Plugins/SymbolFile/PDB/CMakeLists.txt.orig   2016-04-27 00:55:50.000000000 +0000<br>
  +++ source/Plugins/SymbolFile/PDB/CMakeLists.txt<br>
  @@ -1,7 +1,11 @@<br>
  -set(LLVM_PRIVATE_LINK_COMPONENTS<br>
  -    DebugInfoPDB)<br>
  +#set(LLVM_PRIVATE_LINK_COMPONENTS<br>
  +#    DebugInfoPDB)<br>
<br>
   add_lldb_library(lldbPluginSymbolFilePDB<br>
     PDBASTParser.cpp<br>
     SymbolFilePDB.cpp<br>
     )<br>
  +<br>
  +target_link_libraries(lldbPluginSymbolFilePDB<br>
  +LINK_PRIVATE<br>
  +LLVMDebugInfoPDB)<br>
<br>
I'm going to test build lldb with 2.8.12.2.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D19685" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19685</a><br>
<br>
<br>
<br>
</blockquote></div>