[Lldb-commits] [PATCH] D119186: [lldb][gdb-remote] Fix linking of gdb-remote when LLVM_ENABLE_ZLIB is ON
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 7 16:40:16 PST 2022
JDevlieghere added a comment.
In D119186#3302765 <https://reviews.llvm.org/D119186#3302765>, @mceier wrote:
> In D119186#3302612 <https://reviews.llvm.org/D119186#3302612>, @JDevlieghere wrote:
>
>> We should add this to `LLDB_SYSTEM_LIBS` like we do in `lldb/source/Host/CMakeLists.txt` and include `${LLDB_SYSTEM_LIBS}` for `lldbPluginProcessGDBRemote`.
>
> So should I add:
>
> if(LLVM_ENABLE_ZLIB)
> list(APPEND LLDB_SYSTEM_LIBS ZLIB::ZLIB)
> endif()
>
> to `lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt` or do you have different CMakeLists.txt file in mind ?
Yup that's fine. I think at some point we'll want to centralize all these dependencies somewhere higher up and have it shared by the different targets, but that's definitely for a separate patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119186/new/
https://reviews.llvm.org/D119186
More information about the lldb-commits
mailing list