summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranCompiler.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-05 20:55:21 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-05 20:55:21 (GMT)
commit2a06c660bff2b681992ac8e45840a248550e11b5 (patch)
tree692d39e9f3776f7bf535c723b290fb30565d6730 /Modules/CMakeFortranCompiler.cmake.in
parentc39a8c39aa1ce3871b1b96feb9842268f2ee1b22 (diff)
downloadCMake-2a06c660bff2b681992ac8e45840a248550e11b5.zip
CMake-2a06c660bff2b681992ac8e45840a248550e11b5.tar.gz
CMake-2a06c660bff2b681992ac8e45840a248550e11b5.tar.bz2
ENH: Patch from Maik to add more fortran extensions.
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r--Modules/CMakeFortranCompiler.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in
index 67a0c64..65cfda7 100644
--- a/Modules/CMakeFortranCompiler.cmake.in
+++ b/Modules/CMakeFortranCompiler.cmake.in
@@ -19,7 +19,7 @@ IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_Fortran_COMPILER_ID_RUN 1)
-SET(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;F77;f90;F90;for;f95;F95)
+SET(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;F77;f90;F90;for;For;FOR;f95;F95)
SET(CMAKE_Fortran_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_Fortran_LINKER_PREFERENCE 20)
IF(UNIX)