summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranCompilerId.F.in
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2015-12-02 15:59:47 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2015-12-07 16:09:15 (GMT)
commit0763a8365528166747746e3b94e74ca98d0d705f (patch)
tree8dce8cd073a5fb7cb50376d73f58bb7581091430 /Modules/CMakeFortranCompilerId.F.in
parent5eaac0c96ac51e1300664ef37239f3215bb58489 (diff)
downloadCMake-0763a8365528166747746e3b94e74ca98d0d705f.zip
CMake-0763a8365528166747746e3b94e74ca98d0d705f.tar.gz
CMake-0763a8365528166747746e3b94e74ca98d0d705f.tar.bz2
Cray: Add macro tests to detect the Cray compiler wrappers
Diffstat (limited to 'Modules/CMakeFortranCompilerId.F.in')
-rw-r--r--Modules/CMakeFortranCompilerId.F.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in
index 2f7f40e..67cda3b 100644
--- a/Modules/CMakeFortranCompilerId.F.in
+++ b/Modules/CMakeFortranCompilerId.F.in
@@ -110,6 +110,9 @@
# endif
PRINT *, 'INFO:compiler[]'
#endif
+#if defined(__CRAYXE) || defined(__CRAYXC)
+ PRINT *, 'INFO:compiler_wrapper[CrayPrgEnv]'
+#endif
#if 0
! Identify the platform