diff options
author | Brad King <brad.king@kitware.com> | 2014-11-26 22:17:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-26 22:17:41 (GMT) |
commit | d7e4bd34e0de0bbb2d61f2183ec3b6b31c016f12 (patch) | |
tree | c650f38b8b4e6b641af42a20da3305c74cb3c02b /Source | |
parent | f70f6acd4fcb6bea4947f8a6353e61ca4a02d455 (diff) | |
parent | 84d124e8f02d5bba60d3491d4c5d7cb68aa91192 (diff) | |
download | CMake-d7e4bd34e0de0bbb2d61f2183ec3b6b31c016f12.zip CMake-d7e4bd34e0de0bbb2d61f2183ec3b6b31c016f12.tar.gz CMake-d7e4bd34e0de0bbb2d61f2183ec3b6b31c016f12.tar.bz2 |
Merge branch 'fix-source-case-matching' into release
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSourceFileLocation.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx index 1c2454e..004fd1f 100644 --- a/Source/cmSourceFileLocation.cxx +++ b/Source/cmSourceFileLocation.cxx @@ -216,7 +216,8 @@ bool cmSourceFileLocation::Matches(cmSourceFileLocation const& loc) // Both extensions are similarly ambiguous. Since only the old fixed set // of extensions will be tried, the names must match at this point to be // the same file. - if(this->Name.size() != loc.Name.size() || this->Name != loc.Name) + if(this->Name.size() != loc.Name.size() || + !cmSystemTools::ComparePath(this->Name, loc.Name)) { return false; } |