[lldb/Host] Use cmakedefine01 for LLDB_ENABLE_LIBXML2
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 12 Dec 2019 17:25:01 +0000 (09:25 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 12 Dec 2019 17:28:56 +0000 (09:28 -0800)
commit4b15c6e2a15f9d1d7c2586af8a7811e7b43ac799
treeea0d4499bc3b281a4b0753ebfe114b9dcd1bee2b
parentba8149e27d3d16fabd2573de37fcdd2cc8e1d4ca
[lldb/Host] Use cmakedefine01 for LLDB_ENABLE_LIBXML2

This keeps things consistent with out other optional dependencies. But
more importantly it won't silently fail when you forget to include
Config.h.
lldb/include/lldb/Host/Config.h.cmake
lldb/include/lldb/Host/XML.h
lldb/source/Host/common/XML.cpp