diff options
author | Brad King <brad.king@kitware.com> | 2010-11-12 14:12:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-12 14:12:08 (GMT) |
commit | 53e76c8f126fd2480c560cf2bb46a93eabbc91fa (patch) | |
tree | c275a3c1f9995e5c76ae234b4f8e74a3a29897b1 /Modules/CMakeFortranCompilerId.F.in | |
parent | 34e1ac2489778a854c3ffaa9c141a9a70416a47e (diff) | |
download | CMake-53e76c8f126fd2480c560cf2bb46a93eabbc91fa.zip CMake-53e76c8f126fd2480c560cf2bb46a93eabbc91fa.tar.gz CMake-53e76c8f126fd2480c560cf2bb46a93eabbc91fa.tar.bz2 |
Teach CMake about Cray C, C++, and Fortran compilers
The Cray Fortran compiler needs "-em" to enable module output and also
"-J." to place the .mod files in the current working directory (instead
of next to the .o file).
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 107470c..4080cc1 100644 --- a/Modules/CMakeFortranCompilerId.F.in +++ b/Modules/CMakeFortranCompilerId.F.in @@ -6,6 +6,8 @@ PRINT *, 'INFO:compiler[Intel]' #elif defined(__SUNPRO_F90) || defined(__SUNPRO_F95) PRINT *, 'INFO:compiler[SunPro]' +#elif defined(_CRAYFTN) + PRINT *, 'INFO:compiler[Cray]' #elif defined(__G95__) PRINT *, 'INFO:compiler[G95]' #elif defined(__PATHSCALE__) |