2 set (GFORTRAN_EXE $ENV{FC})
4 find_program(GFORTRAN_EXE
16 mark_as_advanced(GFORTRAN_EXE)
18 message(STATUS "Looking for bin gfortran")
20 if(NOT WIN32 AND NOT APPLE)
22 message(STATUS "Found gfortran: ${GFORTRAN_EXE}")
25 message(STATUS "Looking for bin gfortran - not found")
28 message(STATUS "SMPI Fortran is disabled on Windows and MacOS platforms. Please contact the SimGrid team if you need it.")
32 message("-- Fortran support for smpi is disabled.")