This changes allows to disable or use customized libxml2 for lldb.
- Removes redundant include_directories. The one in LLDBConfig.cmake should be enough.
- Only link to ${LIBXML2_LIBRARIES} if xml2 is enabled.
Paths
| Differential D80257
[lldb] Allows customizing libxml2 for darwin ClosedPublic Authored by hhb on May 19 2020, 4:03 PM.
Details Summary This changes allows to disable or use customized libxml2 for lldb.
Diff Detail
Event TimelineComment Actions Yes, that's a lot cleaner. A better way to ensure lldb is not accidentally built without xml support is to set LLDB_ENABLE_LIBXML=On in the cmake config/cache file. This revision is now accepted and ready to land.May 19 2020, 11:32 PM Closed by commit rG780d7d77327c: [lldb] Allows customizing libxml2 for darwin (authored by hhb). · Explain WhyMay 20 2020, 12:38 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 265326 lldb/cmake/modules/LLDBConfig.cmake
lldb/source/Host/CMakeLists.txt
lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
lldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt
|