From 5f2bd2fdcb5aff340ddab111324b1099a201f62b Mon Sep 17 00:00:00 2001 From: degomme Date: Thu, 5 Jun 2014 20:20:46 +0200 Subject: [PATCH] Fortran SMPI is not working for now, so deactivate the build in cmake. It would need a dirty hack as seen in smpi_main.h, but in F77 and F90, to begin with ... --- buildtools/Cmake/Modules/FindGFortran.cmake | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/buildtools/Cmake/Modules/FindGFortran.cmake b/buildtools/Cmake/Modules/FindGFortran.cmake index 4dada0d26a..dfd141a837 100644 --- a/buildtools/Cmake/Modules/FindGFortran.cmake +++ b/buildtools/Cmake/Modules/FindGFortran.cmake @@ -13,11 +13,15 @@ mark_as_advanced(GFORTRAN_EXE) message(STATUS "Looking for bin gfortran") set(SMPI_FORTRAN 0) -if(GFORTRAN_EXE) - message(STATUS "Found gfortran: ${GFORTRAN_EXE}") - set(SMPI_FORTRAN 1) +if(NOT WIN32) + if(GFORTRAN_EXE) + message(STATUS "Found gfortran: ${GFORTRAN_EXE}") + set(SMPI_FORTRAN 1) + else() + message(STATUS "Looking for bin gfortran - not found") + endif() else() - message(STATUS "Looking for bin gfortran - not found") + message(STATUS "SMPI Fortran is disabled on Windows platforms. Please contact the SimGrid team if you need it.") endif() if(NOT SMPI_FORTRAN) -- 2.20.1