Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove empty statements
[simgrid.git] / CMakeLists.txt
index 579a485..4272462 100644 (file)
@@ -383,7 +383,11 @@ if (enable_model-checking AND enable_ns3)
 endif()
 
 if(enable_smpi)
-  include(FindGFortran)
+  if(enable_fortran)
+    include(FindGFortran)
+  else()
+    SET(SMPI_FORTRAN 0)
+  endif()
   SET(HAVE_SMPI 1)
   if("${CMAKE_SYSTEM}" MATCHES "Linux")
     SET(USE_LIBUTIL 0)