There is a problem building clangmetatool with llvm14 — it requires C language enabled in CMake.
Describe your changes
Add C language to the project command of the top-level CMakeLists.txt
Testing performed
clangmetatool was successfully rebuilt with llvm 12, llvm 13, and llvm 14.
Additional context
The build error without the patch
CMake Error at /opt/bb/share/cmake-3.24/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
check_source_compiles: C: needs to be enabled before use.
There is a problem building
clangmetatool
with llvm14 — it requiresC
language enabled in CMake.Describe your changes Add C language to the
project
command of the top-level CMakeLists.txtTesting performed
clangmetatool
was successfully rebuilt with llvm 12, llvm 13, and llvm 14.Additional context
The build error without the patch
See also https://github.com/llvm/llvm-project/issues/53950