diff options
author | Chris Bieneman <beanz@apple.com> | 2017-07-28 15:39:51 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-07-28 15:39:51 +0000 |
commit | 8c01cc54eb680eea8b7a159597ba0c9fa12f2af3 (patch) | |
tree | 7d7d11df5c317a49f393a42124278e6457156efa /lldb/source/Plugins/Process/gdb-remote | |
parent | 0025f3f6ba0a68f3a94f8061213fb6fa13c39755 (diff) | |
download | bcm5719-llvm-8c01cc54eb680eea8b7a159597ba0c9fa12f2af3.tar.gz bcm5719-llvm-8c01cc54eb680eea8b7a159597ba0c9fa12f2af3.zip |
[CMake] Add checks for libcompression
This enables libcompression when available in the CMake build system.
llvm-svn: 309395
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt b/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt index 5e51feef1d3..7ae25f83c5f 100644 --- a/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt +++ b/lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt @@ -7,6 +7,10 @@ set(LLDB_PLUGINS lldbPluginPlatformMacOSX ) +if(HAVE_LIBCOMPRESSION) + set(LIBCOMPRESSION compression) +endif() + add_lldb_library(lldbPluginProcessGDBRemote PLUGIN GDBRemoteClientBase.cpp GDBRemoteCommunication.cpp @@ -30,6 +34,7 @@ add_lldb_library(lldbPluginProcessGDBRemote PLUGIN lldbTarget lldbUtility ${LLDB_PLUGINS} + ${LIBCOMPRESSION} LINK_COMPONENTS Support ) |