summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/SymbolVendor
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2013-04-25 01:36:53 +0000
committerFilipe Cabecinhas <me@filcab.net>2013-04-25 01:36:53 +0000
commiteb610dacd9d3333f8ae664e0faab073a4b84bef3 (patch)
treec81a7eb629163ae1738f118a0eda5c4528a01595 /lldb/source/Plugins/SymbolVendor
parent43dd9e6eeed5405b0d49baadfc0f1c0fb18d9d15 (diff)
More CMake fixes for OS X.
Diffstat (limited to 'lldb/source/Plugins/SymbolVendor')
-rw-r--r--lldb/source/Plugins/SymbolVendor/CMakeLists.txt4
-rw-r--r--lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt2
2 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolVendor/CMakeLists.txt b/lldb/source/Plugins/SymbolVendor/CMakeLists.txt
index a50a5429802..5bd3ac342ea 100644
--- a/lldb/source/Plugins/SymbolVendor/CMakeLists.txt
+++ b/lldb/source/Plugins/SymbolVendor/CMakeLists.txt
@@ -1 +1,3 @@
-#add_subdirectory(MacOSX)
+if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ add_subdirectory(MacOSX)
+endif()
diff --git a/lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt b/lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt
index e47f52f0772..6a0040f2674 100644
--- a/lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt
+++ b/lldb/source/Plugins/SymbolVendor/MacOSX/CMakeLists.txt
@@ -1,5 +1,7 @@
set(LLVM_NO_RTTI 1)
+include_directories(${LIBXML2_INCLUDE_DIR})
+
add_lldb_library(lldbPluginSymbolVendorMacOSX
SymbolVendorMacOSX.cpp
)