Răsfoiți Sursa

Merge topic 'cray-version-patch'

258faaeef6 Cray: Detect Fortran compiler version patch level if available

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5957
Brad King 4 ani în urmă
părinte
comite
2b2da04fbc
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      Modules/CMakeFortranCompilerId.F.in

+ 3 - 0
Modules/CMakeFortranCompilerId.F.in

@@ -62,6 +62,9 @@
         PRINT *, 'INFO:compiler[Cray]'
 # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
 # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
+# if defined(_RELEASE_PATCHLEVEL)
+#  define COMPILER_VERSION_PATCH DEC(_RELEASE_PATCHLEVEL)
+# endif
 #elif defined(__G95__)
         PRINT *, 'INFO:compiler[G95]'
 # define COMPILER_VERSION_MAJOR DEC(__G95__)