mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
Refactor: Eliminate sequential calls to cmSystemTools::Stdout
This commit is contained in:
@@ -202,9 +202,7 @@ bool RunCommand(std::string command, std::string& output, int& retVal,
|
||||
# endif
|
||||
command = commandInDir;
|
||||
if (verbose) {
|
||||
cmSystemTools::Stdout("running ");
|
||||
cmSystemTools::Stdout(command);
|
||||
cmSystemTools::Stdout("\n");
|
||||
cmSystemTools::Stdout(cmStrCat("running ", command, '\n'));
|
||||
}
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
Reference in New Issue
Block a user