summaryrefslogtreecommitdiffstats
path: root/lldb/cmake/modules/AddLLDB.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/cmake/modules/AddLLDB.cmake')
-rw-r--r--lldb/cmake/modules/AddLLDB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake
index c0a89e46f08..d597f3f282e 100644
--- a/lldb/cmake/modules/AddLLDB.cmake
+++ b/lldb/cmake/modules/AddLLDB.cmake
@@ -93,7 +93,7 @@ function(add_lldb_library name)
# Hack: only some LLDB libraries depend on the clang autogenerated headers,
# but it is simple enough to make all of LLDB depend on some of those
# headers without negatively impacting much of anything.
- if(NOT LLDB_BUILT_STANDALONE)
+ if(NOT LLDB_BUILT_STANDALONE AND NOT LLVM_ENABLE_SPHINX)
add_dependencies(${name} clang-tablegen-targets)
endif()
OpenPOWER on IntegriCloud