CMake Error at cmake/modules/CMakeLists.txt:1 (include):

While building the LLVM I’m facing the following error.
How to solve this? I have already used this pass -DLLVM_INCLUDE_BENCHMARKS=OFF


CMake Error at cmake/modules/CMakeLists.txt:1 (include):
  include could not find requested file:

    ExtendPath


CMake Error at cmake/modules/CMakeLists.txt:3 (include):
  include could not find requested file:

    FindPrefixFromConfig


CMake Error at cmake/modules/CMakeLists.txt:116 (find_prefix_from_config):
  Unknown CMake command "find_prefix_from_config".