diff options
| author | Markus Böck <markus.boeck02@gmail.com> | 2021-09-25 13:13:11 +0200 |
|---|---|---|
| committer | Markus Böck <markus.boeck02@gmail.com> | 2021-09-25 13:13:11 +0200 |
| commit | 0b61f43b6096a9e98652991cba34e8ad44d35101 (patch) | |
| tree | 53a21a0488d4f6fb489de483feccd193c1e344d9 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | ee267b1c7c0147925af8ca4c9d694d7c658b5fbd (diff) | |
[CMake] Consistently use the LibXml2::LibXml2 target instead of LIBXML2_LIBRARIES
Linking against the LibXml2::LibXml2 target has the advantage of not only importing the library, but also adding the include path as well as any definitions the library requires. In case of a static build of libxml2, eg. a define is set on Windows to remove any DLL imports and export.
LLVM already makes use of the target, but c-index-test and lldb were still linking against the library only.
The workaround for Mac OS-X that I removed seems to have also been made redundant since https://reviews.llvm.org/D84563 I believe
Differential Revision: https://reviews.llvm.org/D109975
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
