diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-05-13 17:30:30 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-05-13 17:30:30 +0000 |
commit | e5b646888598380f7187b00c110f547951cc7572 (patch) | |
tree | 7fb4630fd8fa01cd46ec76fef09e93ecf892a642 /lldb/source/Plugins/DynamicLoader | |
parent | 096f7c1e05de9b27b531ca241c161317eb6adad2 (diff) | |
download | bcm5719-llvm-e5b646888598380f7187b00c110f547951cc7572.tar.gz bcm5719-llvm-e5b646888598380f7187b00c110f547951cc7572.zip |
Unbreak cmake builds by skipping Darwin kernel plugin on non-Mac platforms
llvm-svn: 181711
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader')
-rw-r--r-- | lldb/source/Plugins/DynamicLoader/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/CMakeLists.txt b/lldb/source/Plugins/DynamicLoader/CMakeLists.txt index 22ce69c602e..88e6e0c931b 100644 --- a/lldb/source/Plugins/DynamicLoader/CMakeLists.txt +++ b/lldb/source/Plugins/DynamicLoader/CMakeLists.txt @@ -1,4 +1,8 @@ -add_subdirectory(Darwin-Kernel)
add_subdirectory(MacOSX-DYLD)
add_subdirectory(POSIX-DYLD)
add_subdirectory(Static)
+
+if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ add_subdirectory(Darwin-Kernel)
+endif()
+
|