Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Support for F90 also needs f2c.
[simgrid.git] / buildtools / Cmake / Modules / FindGFortran.cmake
index b15409e..f034577 100644 (file)
@@ -20,7 +20,9 @@ endif()
 
 set(SMPI_F90 0)
 if(GFORTRAN_EXE)
-  if(HAVE_MC)
+  if(NOT SMPI_F2C)
+    message("-- Fortran 90 support for smpi also needs f2c.")
+  elseif(HAVE_MC)
     message("-- Fortran 90 support for smpi is currently not compatible with model checking.")
   else()
     set(SMPI_F90 1)