When compiling VTK 9.4.1 on Linux, there is no prompt for the VTK_OPENGL_USE_GLES option, and there are other compilation errors.

I was partly wrong - it is supported only with GLES contexts >= 3.2