CheckSource{Runs,Compiles}: Fix default Fortran source extension
In !5223 (merged), the default Fortran source file extension for CheckFortranSourceCompiles was correctly preserved as .F
, but the default for CheckFortranSourceRuns was accidentally changed from .F90
to .F
. Fix that.
For direct calls to the new interfaces provided by CheckSourceCompiles and CheckSourceRuns, use .F90
by default for both. This is more consistent and better for modern usage.
Fixes: #21307 (closed)
Backport: release
Topic-rename: CheckSource-Fortran
Edited by Brad King