summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 7dfcdde..379898e 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1098,7 +1098,10 @@ cmSystemTools::FileFormat cmSystemTools::GetFileFormat(const char* cext)
if (
ext == "f" || ext == ".f" ||
ext == "F" || ext == ".F" ||
- ext == "f77" || ext == ".f77"
+ ext == "f77" || ext == ".f77" ||
+ ext == "f90" || ext == ".f90" ||
+ ext == "for" || ext == ".for" ||
+ ext == "f95" || ext == ".f95"
) { return cmSystemTools::FORTRAN_FILE_FORMAT; }
if ( ext == "java" || ext == ".java" ) { return cmSystemTools::JAVA_FILE_FORMAT; }
if (