mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
NAG: Extend compiler tool selection with NAG Fortran
Add `nag` and `nagfor`.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user