Module dependencies in cmake not tracked after a module is updated

Recompilation cascades is a problem with CMake and/or certain compilers and/or certain build tools. There’s an old discussion on the topic here: Compilation time vs. C++ - #7 by certik

You could use Fortran submodules to avoid recompilation cascades, but that would require quite a bit of refactoring.