CMake 3.20 broke specifying generator in incompatible way
In previous versions of CMake, we were using
cmake -g 'Ninja' .. to generate with ninja. It seems that with 3.20, this is broken, and now
cmake -G "Ninja" .. is required. This makes writing build scripts insanely hard, as we know have to know which version of CMake is installed. Is this an expected break, and if so is there a workaround?