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
Chuck Atkins
KWSys
Commits
406a747a
Commit
406a747a
authored
Feb 10, 2006
by
Bill Hoffman
Browse files
ENH: fix for bug 28618, cmake.exe can not find itself
parent
41512584
Changes
1
Hide whitespace changes
Inline
Side-by-side
SystemTools.cxx
View file @
406a747a
...
...
@@ -1950,9 +1950,12 @@ kwsys_stl::string SystemTools::FindProgram(
{
path
.
push_back
(
*
i
);
}
for
(
kwsys_stl
::
vector
<
kwsys_stl
::
string
>::
const_
iterator
p
=
path
.
begin
();
for
(
kwsys_stl
::
vector
<
kwsys_stl
::
string
>::
iterator
p
=
path
.
begin
();
p
!=
path
.
end
();
++
p
)
{
#ifdef _WIN32
SystemTools
::
ReplaceString
(
*
p
,
"
\"
"
,
""
);
#endif
tryPath
=
*
p
;
tryPath
+=
"/"
;
tryPath
+=
name
;
...
...
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