summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2015-12-04 15:28:03 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2015-12-04 15:28:03 (GMT)
commit71e5f253f9b035be7049f36dab2e942220ff6209 (patch)
treef8a7e642117dfe35c104bd742df91c6483aa1f65 /Modules
parent4e29a514ad83c5711e7ee894b825203e8c302269 (diff)
downloadCMake-71e5f253f9b035be7049f36dab2e942220ff6209.zip
CMake-71e5f253f9b035be7049f36dab2e942220ff6209.tar.gz
CMake-71e5f253f9b035be7049f36dab2e942220ff6209.tar.bz2
Fortran: Add ftn, the Cray compiler wrapper, to the default search.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineFortranCompiler.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake
index 911ffac..ccafb07 100644
--- a/Modules/CMakeDetermineFortranCompiler.cmake
+++ b/Modules/CMakeDetermineFortranCompiler.cmake
@@ -54,6 +54,7 @@ else()
if(NOT CMAKE_Fortran_COMPILER_INIT)
# Known compilers:
# f77/f90/f95: generic compiler names
+ # ftn: Cray fortran compiler wrapper
# g77: GNU Fortran 77 compiler
# gfortran: putative GNU Fortran 95+ compiler (in progress)
# fort77: native F77 compiler under HP-UX (and some older Crays)
@@ -73,6 +74,7 @@ else()
# then 77 or older compilers, gnu is always last in the group,
# so if you paid for a compiler it is picked by default.
set(CMAKE_Fortran_COMPILER_LIST
+ ftn
ifort ifc af95 af90 efc f95 pathf2003 pathf95 pgf95 pgfortran lf95 xlf95
fort gfortran gfortran-4 g95 f90 pathf90 pgf90 xlf90 epcf90 fort77
frt pgf77 xlf fl32 af77 g77 f77