[cmake] Avoid unnecessary rebuilds without fortran
When CMake doesn't detect Fortran, it writes an empty FC.h
file, which gets included by config.h
. This file is regenerated on each cmake run, causing continuous full rebuilds.
This merge requests fixes the issue by not rewriting the file if is already present.
Merge request reports
Activity
Added backport bug buildsystem labels
Milestone changed to DUNE 3.0.0
mentioned in commit f04ac18e
Mentioned in commit f04ac18e
Please register or sign in to reply