From 7775a10cef19eac54cb9e962f39bebdd5d8a6699 Mon Sep 17 00:00:00 2001 From: degomme Date: Fri, 26 Jun 2015 09:36:46 +0200 Subject: [PATCH] second attempt --- buildtools/Cmake/Modules/FindGFortran.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/Cmake/Modules/FindGFortran.cmake b/buildtools/Cmake/Modules/FindGFortran.cmake index dfd141a837..1369d64bd1 100644 --- a/buildtools/Cmake/Modules/FindGFortran.cmake +++ b/buildtools/Cmake/Modules/FindGFortran.cmake @@ -13,7 +13,7 @@ mark_as_advanced(GFORTRAN_EXE) message(STATUS "Looking for bin gfortran") set(SMPI_FORTRAN 0) -if(NOT WIN32) +if(NOT WIN32 AND NOT APPLE) if(GFORTRAN_EXE) message(STATUS "Found gfortran: ${GFORTRAN_EXE}") set(SMPI_FORTRAN 1) @@ -21,7 +21,7 @@ if(NOT WIN32) message(STATUS "Looking for bin gfortran - not found") endif() else() - message(STATUS "SMPI Fortran is disabled on Windows platforms. Please contact the SimGrid team if you need it.") + message(STATUS "SMPI Fortran is disabled on Windows and MacOS platforms. Please contact the SimGrid team if you need it.") endif() if(NOT SMPI_FORTRAN) -- 2.20.1