Skip to content
Snippets Groups Projects
Commit f04ac18e authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Merge branch 'feature/avoid-unnecessary-rebuilds-without-fortran' into 'master'

[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.

See merge request !66
parents 63413211 6baa31fc
Branches
Tags
1 merge request!66[cmake] Avoid unnecessary rebuilds without fortran
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment