summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-06 13:30:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-04-06 13:30:03 (GMT)
commitae2fa89f74a8be6af39431b73aea88792ac1ef44 (patch)
tree30afb0acfa66b71d2686db5430ba5e416a53a157
parent7b3a56157c0612f2449c7d7c24f21b97432030f9 (diff)
parentf831d752aeb3000a9b1b686da986af7ffecb6968 (diff)
downloadCMake-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.cxx2
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);
}