duneproject creates project that fails to configure with cmake: CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
-- Dependencies for dune-geometry: dune-common (>= 2.7)
-- The Fortran compiler identification is unknown
CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
CMake Error at /usr/local/share/cmake/Modules/FindMPI.cmake:1213 (try_compile):
Failed to configure test project build system.
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindMPI.cmake:1240 (_MPI_try_staged_settings)
/usr/local/share/cmake/Modules/FindMPI.cmake:1427 (_MPI_check_lang_works)
/usr/local/share/dune/cmake/modules/DuneMPI.cmake:24 (find_package)
/usr/local/share/dune/cmake/modules/DuneMacros.cmake:705 (include)
CMakeLists.txt:21 (dune_project)
dune-common-2.7.1 OS: FreeBSD 12.2 Fortran is from gcc10.