Build lammps with cmake

Hello everyone,
Now I want to bulild LAMMPS with CMAKE. I followed the manual 3.1. Build LAMMPS with CMake — LAMMPS documentation.
The command line:

cd lammps # change to the LAMMPS distribution directory
mkdir build; cd build # create and use a build directory
cmake …/cmake # configuration reading CMake scripts from …/cmake
cmake --build . # compilation (or type “make”)

The compilation is done but when I run script with command line: lmp -in test.in.
Linux terminal displays: Command ‘lmp’ not found.
Could you tell me the reason and how to fix that?
Thank you very much!

Please familiarize yourself with how executables are found on Linux or Unix and how this differs from Windows.