Skip to content

ninja: defer Fortran errors until generate time

Ben Boeckel requested to merge ben.boeckel/cmake:ninja-fortran-erroring into master

If the user wants to manually run a Fortran compiler that CMake finds, using the Ninja generator shouldn't block that. What Ninja doesn't support is writing out object rules for a language because it can't get the dependencies correct, so error at that point, not when Fortran is requested.

Fixes #14862 (closed).

Merge request reports