Explorar o código

Cray: Detect Fortran compiler version patch level if available

Fixes: #21969
Justin LaPolla %!s(int64=4) %!d(string=hai) anos
pai
achega
258faaeef6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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__)