CMake doesn't print the generator version by default like it does with the compilers.
Usage:
cmake -Bbuildswitch generators like
cmake -Bbuild -G "Unix Makefiles" --fresh-- Unix Makefiles /opt/homebrew/bin/gmake GNU Make 4.4.1
cmake -Bbuild -G Ninja --fresh-- Ninja /opt/homebrew/bin/ninja 1.13.2