mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmExtraEclipseCDT4Generator: Replace RunCommand with RunSingleCommand
Avoid use of the old cmSystemTools::RunCommand by using RunSingleCommand instead.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user