The current CMake install script does not work with CMake >= 4.0. Reason: PETSc cannot configure METIS with CMake 4. A warning on the maximum version of CMake should be added to the documentation.