Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
second attempt
authordegomme <augustin.degomme@unibas.ch>
Fri, 26 Jun 2015 07:36:46 +0000 (09:36 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Fri, 26 Jun 2015 07:36:46 +0000 (09:36 +0200)
buildtools/Cmake/Modules/FindGFortran.cmake

index dfd141a..1369d64 100644 (file)
@@ -13,7 +13,7 @@ mark_as_advanced(GFORTRAN_EXE)
 
 message(STATUS "Looking for bin gfortran")
 set(SMPI_FORTRAN 0)
 
 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)
   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 "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)
 endif()
 
 if(NOT SMPI_FORTRAN)