The as reported an error and could not find ninja

Error message:

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

terms of settlement:

sudo apt-get install ninja-build


Read More: