summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-11-05 23:48:41 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-11-05 23:48:41 +0000
commitb36e4c7b5a9aae21195ba361340a8ec57e200dce (patch)
tree4aead3df2ed37271e64404a5ba782a661c94acd8 /lldb/source
parent626788c0930914d33c38b5d60de77506c3140696 (diff)
downloadbcm5719-llvm-b36e4c7b5a9aae21195ba361340a8ec57e200dce.tar.gz
bcm5719-llvm-b36e4c7b5a9aae21195ba361340a8ec57e200dce.zip
Fix cmake build on Mac OS X.
PlatformDarwin uses Host/XML.h which needs to find libxml2, and so it needs to be told how to find the headers. llvm-svn: 252238
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
index b37c283045f..bb91db4df31 100644
--- a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
+++ b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
@@ -12,6 +12,7 @@ list(APPEND PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES
)
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ include_directories(${LIBXML2_INCLUDE_DIR})
list(APPEND PLUGIN_PLATFORM_MACOSX_SOURCES
${PLUGIN_PLATFORM_MACOSX_DARWIN_ONLY_SOURCES})
else()
OpenPOWER on IntegriCloud