summaryrefslogtreecommitdiff
path: root/Modules/CMakeFortranCompiler.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-03 12:03:41 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-03 12:03:41 -0400
commitc2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1 (patch)
tree7381defd6dbc2d6532291eecb6c00d5c17b8f5f4 /Modules/CMakeFortranCompiler.cmake.in
parent652823dc8356272b0253718f56a9693872785cc9 (diff)
downloadcmake-c2ef51e1816fa9b82b1319b5c5c3cbfc3256cea1.tar.gz
ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
-rw-r--r--Modules/CMakeFortranCompiler.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompiler.cmake.in b/Modules/CMakeFortranCompiler.cmake.in
index 21a5f0d42a..6f7740b656 100644
--- a/Modules/CMakeFortranCompiler.cmake.in
+++ b/Modules/CMakeFortranCompiler.cmake.in
@@ -14,3 +14,4 @@ IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_COMPILER_IS_GNUG77_RUN 1)
+SET(CMAKE_Fortran_SOURCE_FILE_EXTENSIONS f;F;f77;f90;for;f95)