diff options
author | Brad King <brad.king@kitware.com> | 2015-11-12 16:13:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-12 16:13:06 (GMT) |
commit | 60859b93db0787f1beb421de7e61a0d79d6dfd80 (patch) | |
tree | bed14bd1f1937f789c94bcc14c72789d669460e1 /Modules | |
parent | b4a2ada297214119647b26df8abe394cd73ca53a (diff) | |
parent | 09f754f040f3e817cd69337adea2c73cb61d53da (diff) | |
download | CMake-60859b93db0787f1beb421de7e61a0d79d6dfd80.zip CMake-60859b93db0787f1beb421de7e61a0d79d6dfd80.tar.gz CMake-60859b93db0787f1beb421de7e61a0d79d6dfd80.tar.bz2 |
Merge branch 'cray-fortran-version' into release
Diffstat (limited to 'Modules')
-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 017af91..2f7f40e 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__) |