X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/716ae59fb79d85eccccddc948ee49dcc14f1b897..08761e536685c785fa8aae06a819f36fc9d62c80:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 892895526b..daeb9d899e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,10 +70,9 @@ if ((NOT DEFINED enable_smpi) OR enable_smpi) # configuration where it was saved as smpiff unset(CMAKE_Fortran_COMPILER) + SET(SMPI_FORTRAN 0) if(enable_fortran) enable_language(Fortran OPTIONAL) - else() - SET(SMPI_FORTRAN 0) endif() if(CMAKE_Fortran_COMPILER) @@ -82,6 +81,7 @@ if ((NOT DEFINED enable_smpi) OR enable_smpi) set(CMAKE_Fortran_COMPILER smpiff) set(SMPI_FORTRAN 1) endif(CMAKE_Fortran_COMPILER) + endif() #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#