diff options
author | Tom Clune <tom.clue@nasa.gov> | 2017-05-01 13:37:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-05-05 14:31:09 (GMT) |
commit | d52a4256b2e75aace7d4a7dd160aa1be89083d28 (patch) | |
tree | c9bf20d79a55b86f15aa99d5f8add2c14eb52f53 /Modules/CMakeDetermineFortranCompiler.cmake | |
parent | e1ae739e1f4b868dffcb4a08cfacde3680dca3aa (diff) | |
download | CMake-d52a4256b2e75aace7d4a7dd160aa1be89083d28.zip CMake-d52a4256b2e75aace7d4a7dd160aa1be89083d28.tar.gz CMake-d52a4256b2e75aace7d4a7dd160aa1be89083d28.tar.bz2 |
NAG: Extend compiler tool selection with NAG Fortran
Add `nag` and `nagfor`.
Diffstat (limited to 'Modules/CMakeDetermineFortranCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineFortranCompiler.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineFortranCompiler.cmake b/Modules/CMakeDetermineFortranCompiler.cmake index 9e9770a..d5220b4 100644 --- a/Modules/CMakeDetermineFortranCompiler.cmake +++ b/Modules/CMakeDetermineFortranCompiler.cmake @@ -60,6 +60,7 @@ else() # fort: Compaq (now HP) Fortran 90/95 compiler for Tru64 and Linux/Alpha # ifc: Intel Fortran 95 compiler for Linux/x86 # efc: Intel Fortran 95 compiler for IA64 + # nagfor: NAG Fortran compiler # # The order is 95 or newer compilers first, then 90, # then 77 or older compilers, gnu is always last in the group, @@ -68,7 +69,7 @@ else() 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 + frt pgf77 xlf fl32 af77 g77 f77 nag ) # Vendor-specific compiler names. @@ -79,6 +80,7 @@ else() set(_Fortran_COMPILER_NAMES_PathScale pathf2003 pathf95 pathf90) set(_Fortran_COMPILER_NAMES_XL xlf) set(_Fortran_COMPILER_NAMES_VisualAge xlf95 xlf90 xlf) + set(_Fortran_COMPILER_NAMES_NAG nagfor) endif() _cmake_find_compiler(Fortran) |