summaryrefslogtreecommitdiffstats
path: root/CompileFlags.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-19 13:11:29 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-23 14:00:27 (GMT)
commitd90be200ecdfd35395f7fdd1f82ddcd4006a256e (patch)
tree5325e9b29576b4011b27d3becae7ee94033c1dd1 /CompileFlags.cmake
parent55d6aa36a522f2dd7849ccd53d9e743a88f8c7a1 (diff)
downloadCMake-d90be200ecdfd35395f7fdd1f82ddcd4006a256e.zip
CMake-d90be200ecdfd35395f7fdd1f82ddcd4006a256e.tar.gz
CMake-d90be200ecdfd35395f7fdd1f82ddcd4006a256e.tar.bz2
Fortran: Add support for GNU >= 4.9 compressed modules (#14975)
From the GCC 4.9 release notes for Fortran: https://gcc.gnu.org/gcc-4.9/changes.html "Module files: The version of the module files (.mod) has been incremented; additionally, module files are now compressed." Teach cmDependsFortran::ModulesDiffer to look for the gzip magic numbers at the beginning of the module file. If found, assume the module was produced by gfortran >= 4.9. The modules do not appear to contain the date as earlier versions did so we can compare the content directly and do not actually need to decompress.
Diffstat (limited to 'CompileFlags.cmake')
0 files changed, 0 insertions, 0 deletions