summaryrefslogtreecommitdiff
path: root/Modules/CheckFortranCompilerFlag.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Check*CompilerFlag: Refactor method used to pass flagsMark Abraham2015-02-241-4/+4
| | | | | | | Refactor the Check*CompilerFlag modules to pass the flags to Check*SourceCompiles using CMAKE_REQUIRED_FLAGS instead of CMAKE_REQUIRED_DEFINITIONS. Both end up being used, but the variable for "FLAGS" is more precise.
* CheckFortranCompilerFlag: Add module to check Fortran flag existenceNicolas Bock2015-02-051-0/+66
Copy the CheckCCompilerFlag module and replace 'C' with 'Fortran'. Also update the common patterns module to match some Fortran compiler messages.