Problem at building LAMMPS through CMake

I am trying to build LAMMPS through CMake, but encountered error as below:

~/Documents/lammps-29Sep2021/build$ cmake -C …/cmake/presets/basic.cmake
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.

loading initial cache file …/cmake/presets/basic.cmake
CMake Error at CMakeLists.txt:62 (include) :
include could not find requested file:

Cake Error at CMakeLtsts.txt:64 (get lammps version) :
Unknown Cake command “get lamps version”.

–Configuring incomplete, errors occurred!
See also

That is because you are not using the correct command line. Please have another look at the instructions in the LAMMPS manual and/or the CMake documentation.

Thanks. yes checked I missed another …/cmake at the end.