[Lldb-commits] [PATCH] D119186: [lldb][gdb-remote] Fix linking of gdb-remote when LLVM_ENABLE_ZLIB is ON
Fangrui Song via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 7 23:26:38 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG385f5c4d3379: [lldb][CMake] Fix linking of gdb-remote when LLVM_ENABLE_ZLIB is ON (authored by mceier, committed by MaskRay).
Changed prior to commit:
https://reviews.llvm.org/D119186?vs=406706&id=406710#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119186/new/
https://reviews.llvm.org/D119186
Files:
lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
Index: lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
===================================================================
--- lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
+++ lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
@@ -15,6 +15,10 @@
set(LIBCOMPRESSION compression)
endif()
+if(LLVM_ENABLE_ZLIB)
+ list(APPEND LLDB_SYSTEM_LIBS ZLIB::ZLIB)
+endif()
+
add_lldb_library(lldbPluginProcessGDBRemote PLUGIN
GDBRemoteClientBase.cpp
GDBRemoteCommunication.cpp
@@ -39,6 +43,7 @@
lldbSymbol
lldbTarget
lldbUtility
+ ${LLDB_SYSTEM_LIBS}
${LLDB_PLUGINS}
${LIBCOMPRESSION}
LINK_COMPONENTS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119186.406710.patch
Type: text/x-patch
Size: 651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220208/0f1be2f4/attachment.bin>
More information about the lldb-commits
mailing list