diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake index d597f3f282ef..c0a89e46f089 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 AND NOT LLVM_ENABLE_SPHINX) + if(NOT LLDB_BUILT_STANDALONE) add_dependencies(${name} clang-tablegen-targets) endif()