mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
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
Block a user