X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c08d2440735566c5901d5448531a47ce2b73e5c2..0a1ae4fcdf5ebdc127407223c3462a6d3e9a0b8d:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 579a485232..4272462fe2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)