diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index de13ab0df24e..e3f81cb4d627 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -123,7 +123,9 @@ foreach(proj ${LLVM_ENABLE_PROJECTS}) endforeach() foreach(proj "libcxx" "libcxxabi" "libunwind") if (${proj} IN_LIST LLVM_ENABLE_PROJECTS) - message(FATAL_ERROR + # TODO(Ericson2314): Making non-fatal for now because of out-of-tree docs + # CI jobs use this. + message(SEND_ERROR "Using LLVM_ENABLE_PROJECTS=${proj} is incorrect. Please use -DLLVM_ENABLE_RUNTIMES=${proj} or " "see the instructions at https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.") endif()