failed to parse dependencies from Fortran sources
(Following e11cd31f (comment 413798) )
with CMake version: 3.10.2 we are getting these warnings, and we have no cluse why Fortran parsing failed:
[ 64%] Building Fortran object src/reladc/CMakeFiles/reladc.dir/polprp_cousat.F.o
[ 64%] Building Fortran object src/luciarel/CMakeFiles/luciarel.dir/vecmat_r.F.o
[ 64%] Building Fortran object src/luciarel/CMakeFiles/luciarel.dir/io_ttss_r.F90.o
[ 64%] Built target luciarel
Scanning dependencies of target krcc
warning: failed to parse dependencies from Fortran source '/builds/dirac/dirac/src/krcc/krcc_inp.F': syntax error, unexpected WORD
[ 64%] Building Fortran object src/krcc/CMakeFiles/krcc.dir/cc_vec_fnc2.F.o
[ 64%] Building Fortran object src/krcc/CMakeFiles/krcc.dir/optimization.F.o
Failed parsing is causing compilation errors. Our software project contains mix of Fortran sources - Fortran77,Fortran90.
At least we would welcome more informative printout why the parsing failed.
With lower CMake versions we do not observe parsing failures.