summaryrefslogtreecommitdiff
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-14 14:41:09 -0500
committerBrad King <brad.king@kitware.com>2016-01-19 15:44:30 -0500
commitfb1526f57fe4720aff596b312e6a767502b86e13 (patch)
treef5313f0a5bb4f0cbd907b8cb86802c96eedb1e2e /Source/cmcmd.cxx
parentc13ed964012bcdf3765ada195db66930d6a0fcf9 (diff)
downloadcmake-fb1526f57fe4720aff596b312e6a767502b86e13.tar.gz
cmake: Change `-E chdir` to pass through stdout/stderr directly
Use OUTPUT_PASSTHROUGH instead of OUTPUT_NORMAL in order to avoid buffering the output just to re-print it.
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index fb7b1f5ff0..7da81bbd14 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -621,7 +621,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
int retval = 0;
int timeout = 0;
if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, 0, &retval,
- directory.c_str(), cmSystemTools::OUTPUT_NORMAL, timeout) )
+ directory.c_str(), cmSystemTools::OUTPUT_PASSTHROUGH, timeout) )
{
return retval;
}