Skip to content

Commit c3d1356

Browse files
committed
add clang
1 parent 7292616 commit c3d1356

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ endif()
181181

182182
if ("lldb" IN_LIST LLVM_ENABLE_PROJECTS)
183183
if (NOT "clang" IN_LIST LLVM_ENABLE_PROJECTS)
184-
message(FATAL_ERROR "Clang is not enabled, but is required for lldb.")
185-
endif ()
184+
message(STATUS "Enabling clang as a dependency of lldb")
185+
list(APPEND LLVM_ENABLE_PROJECTS "clang")
186+
endif()
186187
endif ()
187188

188189
if ("libc" IN_LIST LLVM_ENABLE_PROJECTS)

0 commit comments

Comments
 (0)