From 8566507c07e0ad81c282021b1269e61c5ff13729 Mon Sep 17 00:00:00 2001 From: degomme Date: Wed, 19 Oct 2016 15:24:29 +0200 Subject: [PATCH] remove now useless file --- tools/cmake/DefinePackages.cmake | 1 - tools/cmake/Modules/FindGFortran.cmake | 33 -------------------------- 2 files changed, 34 deletions(-) delete mode 100644 tools/cmake/Modules/FindGFortran.cmake diff --git a/tools/cmake/DefinePackages.cmake b/tools/cmake/DefinePackages.cmake index 6e5357ec44..a1a26fa29f 100644 --- a/tools/cmake/DefinePackages.cmake +++ b/tools/cmake/DefinePackages.cmake @@ -997,7 +997,6 @@ set(CMAKE_SOURCE_FILES tools/cmake/Java.cmake tools/cmake/MakeLib.cmake tools/cmake/MakeLibWin.cmake - tools/cmake/Modules/FindGFortran.cmake tools/cmake/Modules/FindGraphviz.cmake tools/cmake/Modules/FindLibdw.cmake tools/cmake/Modules/FindLibunwind.cmake diff --git a/tools/cmake/Modules/FindGFortran.cmake b/tools/cmake/Modules/FindGFortran.cmake deleted file mode 100644 index 67741a301a..0000000000 --- a/tools/cmake/Modules/FindGFortran.cmake +++ /dev/null @@ -1,33 +0,0 @@ -if(DEFINED ENV{FC}) - set (GFORTRAN_EXE $ENV{FC}) -else() - find_program(GFORTRAN_EXE - NAME gfortran - PATH_SUFFIXES bin/ - PATHS - /opt - /opt/local - /opt/csw - /sw - /usr - ) -endif() - -mark_as_advanced(GFORTRAN_EXE) - -message(STATUS "Looking for bin gfortran") -set(SMPI_FORTRAN 0) -if(NOT WIN32 AND NOT APPLE) - 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 "SMPI Fortran is disabled on Windows and MacOS platforms. Please contact the SimGrid team if you need it.") -endif() - -if(NOT SMPI_FORTRAN) - message("-- Fortran support for smpi is disabled.") -endif() -- 2.20.1