diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 18:43:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-18 19:08:42 (GMT) |
commit | f551135208adc1ac8990f5309ec54325cf897d7d (patch) | |
tree | 042d5138afee9a4c819db04618a5b9c527de1af5 /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 919e1e845361d6e29789f5347d12af3318452843 (diff) | |
download | CMake-f551135208adc1ac8990f5309ec54325cf897d7d.zip CMake-f551135208adc1ac8990f5309ec54325cf897d7d.tar.gz CMake-f551135208adc1ac8990f5309ec54325cf897d7d.tar.bz2 |
cmExtraEclipseCDT4Generator: Replace RunCommand with RunSingleCommand
Avoid use of the old cmSystemTools::RunCommand by using RunSingleCommand
instead.
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index bd3d669..a2dd903 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -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; } |