summaryrefslogtreecommitdiff
path: root/Modules/CMakeFortranCompilerId.F.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-23 08:25:43 -0400
committerBrad King <brad.king@kitware.com>2009-10-23 08:25:43 -0400
commit83816cc6ec619f3c108734814837510e31370e99 (patch)
tree759584a3664fe2299d179486ae441fc8f3a8b18e /Modules/CMakeFortranCompilerId.F.in
parenteb3d02e35121fc91b8a70eafcf9a4a55c3eb59a0 (diff)
downloadcmake-83816cc6ec619f3c108734814837510e31370e99.tar.gz
Add support for the g95 Fortran compiler
This commit teaches CMake about the g95 compiler from http://www.g95.org We use 'G95' as the compiler id string, and add some basic flags. See issue #9241.
Diffstat (limited to 'Modules/CMakeFortranCompilerId.F.in')
-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 51f4e91d04..c92f127a26 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(__G95__)
+ PRINT *, 'INFO:compiler[G95]'
#elif defined(__GNUC__)
PRINT *, 'INFO:compiler[GNU]'
#elif defined(__IBMC__)