diff options
author | Brad King <brad.king@kitware.com> | 2015-11-13 08:53:32 -0500 |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-11-13 08:53:32 -0500 |
commit | bbf1757dfa4804c0d8ac311e6645084982831a50 (patch) | |
tree | a4810f2aa7e2c8271454d9b78f201078cd88c29e /Modules/CMakeFortranCompilerId.F.in | |
parent | 415863e6d40f3c09d43b41ef16e0a7ffa0006063 (diff) | |
parent | 09f754f040f3e817cd69337adea2c73cb61d53da (diff) | |
download | cmake-bbf1757dfa4804c0d8ac311e6645084982831a50.tar.gz |
Merge topic 'cray-fortran-version'
09f754f0 Cray: Implement Fortran compiler version detection (#15845)
Diffstat (limited to 'Modules/CMakeFortranCompilerId.F.in')
-rw-r--r-- | Modules/CMakeFortranCompilerId.F.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in index 017af91c00..2f7f40ec6c 100644 --- a/Modules/CMakeFortranCompilerId.F.in +++ b/Modules/CMakeFortranCompilerId.F.in @@ -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__) |