Merge topic 'fortran-line-directives-no-dirs'

f831d752 cmFortranParser: Skip #line directives that do not name files
This commit is contained in:
Brad King 2016-04-06 09:30:03 -04:00 committed by CMake Topic Stage
commit ae2fa89f74
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ void cmFortranParser_RuleLineDirective(cmFortranParser* parser,
cmSystemTools::ConvertToUnixSlashes(included); cmSystemTools::ConvertToUnixSlashes(included);
// Save the named file as included in the source. // Save the named file as included in the source.
if (cmSystemTools::FileExists(included)) if (cmSystemTools::FileExists(included, true))
{ {
parser->Info.Includes.insert(included); parser->Info.Includes.insert(included);
} }