diff options
author | Brad King <brad.king@kitware.com> | 2010-11-12 09:12:08 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-11-12 09:12:08 -0500 |
commit | 53e76c8f126fd2480c560cf2bb46a93eabbc91fa (patch) | |
tree | c275a3c1f9995e5c76ae234b4f8e74a3a29897b1 /Modules/CMakeCCompilerId.c.in | |
parent | 34e1ac2489778a854c3ffaa9c141a9a70416a47e (diff) | |
download | cmake-53e76c8f126fd2480c560cf2bb46a93eabbc91fa.tar.gz |
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/CMakeCCompilerId.c.in')
-rw-r--r-- | Modules/CMakeCCompilerId.c.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in index accda32570..2b80c886aa 100644 --- a/Modules/CMakeCCompilerId.c.in +++ b/Modules/CMakeCCompilerId.c.in @@ -42,6 +42,9 @@ #elif defined(__PATHSCALE__) # define COMPILER_ID "PathScale" +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" + #elif defined(__GNUC__) # define COMPILER_ID "GNU" |