diff options
author | Brad King <brad.king@kitware.com> | 2016-04-06 13:30:03 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-04-06 13:30:03 (GMT) |
commit | ae2fa89f74a8be6af39431b73aea88792ac1ef44 (patch) | |
tree | 30afb0acfa66b71d2686db5430ba5e416a53a157 | |
parent | 7b3a56157c0612f2449c7d7c24f21b97432030f9 (diff) | |
parent | f831d752aeb3000a9b1b686da986af7ffecb6968 (diff) | |
download | CMake-ae2fa89f74a8be6af39431b73aea88792ac1ef44.zip CMake-ae2fa89f74a8be6af39431b73aea88792ac1ef44.tar.gz CMake-ae2fa89f74a8be6af39431b73aea88792ac1ef44.tar.bz2 |
Merge topic 'fortran-line-directives-no-dirs'
f831d752 cmFortranParser: Skip #line directives that do not name files
-rw-r--r-- | Source/cmFortranParserImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFortranParserImpl.cxx b/Source/cmFortranParserImpl.cxx index c175e62..b3b2f16 100644 --- a/Source/cmFortranParserImpl.cxx +++ b/Source/cmFortranParserImpl.cxx @@ -229,7 +229,7 @@ void cmFortranParser_RuleLineDirective(cmFortranParser* parser, cmSystemTools::ConvertToUnixSlashes(included); // Save the named file as included in the source. - if (cmSystemTools::FileExists(included)) + if (cmSystemTools::FileExists(included, true)) { parser->Info.Includes.insert(included); } |