Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Support for F90 also needs f2c.
[simgrid.git] / buildtools / Cmake / CompleteInFiles.cmake
index 21f068f..16aff5c 100644 (file)
@@ -217,9 +217,9 @@ else()
   SET(MMALLOC_WANT_OVERRIDE_LEGACY 0)
 endif()
 
-# must come after having set HAVE_MC (FindGFortran uses it)
 if(enable_smpi)
   include(FindF2c)
+  # FindGFortran must come after FindF2C, and after having set HAVE_MC
   include(FindGFortran)
   SET(HAVE_SMPI 1)
 endif()