Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brad King
CMake
Commits
9f59caa9
Commit
9f59caa9
authored
Dec 01, 2014
by
Brad King
💬
Committed by
Kitware Robot
Dec 01, 2014
Browse files
Merge topic 'fix-source-case-matching'
84d124e8
Fix lookup of source names after conversion to their actual case (#15259)
parents
d724640f
84d124e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Source/cmSourceFileLocation.cxx
View file @
9f59caa9
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment