https://gitlab.kitware.com/cmake/cmake/-/issues/25365
was a critical fix for Fortran + Ninja projects, fixing broken 3.27.0…3.27.7 and 3.28-rc. I’m still using CMake 3.26.5 waiting for 3.27.8, maybe it fell off the radar–the fix was backported (?)
Yes, I do plan do do 3.27.8 eventually. Currently we’re working on additional fixes that need to go in the 3.27 series, including a possible regression caused by the fix for your issue.
OK! I didn’t know about those regressions, no worries 3.26.5 is fine for the foreseeable future.
See CMake MR 8972.