Install fortran and check cmake version.