Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
24c9434a
Commit
24c9434a
authored
Jul 30, 2008
by
Brad King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Avoid double-slash in check for source file
parent
d6f02cd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Source/cmSourceFileLocation.cxx
Source/cmSourceFileLocation.cxx
+5
-2
No files found.
Source/cmSourceFileLocation.cxx
View file @
24c9434a
...
...
@@ -113,8 +113,11 @@ void cmSourceFileLocation::UpdateExtension(const char* name)
tryPath
=
this
->
Makefile
->
GetCurrentDirectory
();
tryPath
+=
"/"
;
}
tryPath
+=
this
->
Directory
;
tryPath
+=
"/"
;
if
(
!
this
->
Directory
.
empty
())
{
tryPath
+=
this
->
Directory
;
tryPath
+=
"/"
;
}
tryPath
+=
this
->
Name
;
if
(
cmSystemTools
::
FileExists
(
tryPath
.
c_str
(),
true
))
{
...
...
Write
Preview
Markdown
is supported
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