summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-13 13:53:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-11-13 13:53:32 (GMT)
commitbbf1757dfa4804c0d8ac311e6645084982831a50 (patch)
treea4810f2aa7e2c8271454d9b78f201078cd88c29e
parent415863e6d40f3c09d43b41ef16e0a7ffa0006063 (diff)
parent09f754f040f3e817cd69337adea2c73cb61d53da (diff)
downloadCMake-bbf1757dfa4804c0d8ac311e6645084982831a50.zip
CMake-bbf1757dfa4804c0d8ac311e6645084982831a50.tar.gz
CMake-bbf1757dfa4804c0d8ac311e6645084982831a50.tar.bz2
Merge topic 'cray-fortran-version'
09f754f0 Cray: Implement Fortran compiler version detection (#15845)
-rw-r--r--Modules/CMakeFortranCompilerId.F.in2
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__)