It would need a dirty hack as seen in smpi_main.h, but in F77 and F90, to begin with ...
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)