summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-08-11 20:37:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-08-11 20:37:56 (GMT)
commit2a1bbabb6b48e7f313977d3b20efa872b3a05a7b (patch)
tree7229843f14b525cec9af39f77d1a52edf7f5eddf /Source/cmSystemTools.cxx
parentd2087dfe99d87356462a9a8b6608ca56d6293c5e (diff)
downloadCMake-2a1bbabb6b48e7f313977d3b20efa872b3a05a7b.zip
CMake-2a1bbabb6b48e7f313977d3b20efa872b3a05a7b.tar.gz
CMake-2a1bbabb6b48e7f313977d3b20efa872b3a05a7b.tar.bz2
ENH: minor fortran fixes
Diffstat (limited to 'Source/cmSystemTools.cxx')
-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 (