cmExtraEclipseCDT4Generator: Replace RunCommand with RunSingleCommand
Avoid use of the old cmSystemTools::RunCommand by using RunSingleCommand instead.
This commit is contained in:
parent
919e1e8453
commit
f551135208
|
@ -1132,7 +1132,7 @@ cmExtraEclipseCDT4Generator::GetEclipsePath(const std::string& path)
|
|||
#if defined(__CYGWIN__)
|
||||
std::string cmd = "cygpath -m " + path;
|
||||
std::string out;
|
||||
if (!cmSystemTools::RunCommand(cmd.c_str(), out, 0, false))
|
||||
if (!cmSystemTools::RunSingleCommand(cmd.c_str(), &out))
|
||||
{
|
||||
return path;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue