Merge topic 'cray-fortran-version'

09f754f0 Cray: Implement Fortran compiler version detection (#15845)
This commit is contained in:
Brad King 2015-11-13 08:53:32 -05:00 committed by CMake Topic Stage
commit bbf1757dfa
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_F90 & 0xF)
#elif defined(_CRAYFTN)
PRINT *, 'INFO:compiler[Cray]'
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__G95__)
PRINT *, 'INFO:compiler[G95]'
# define COMPILER_VERSION_MAJOR DEC(__G95__)