From fb1526f57fe4720aff596b312e6a767502b86e13 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Jan 2016 14:41:09 -0500 Subject: [PATCH] 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. --- Source/cmcmd.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index fb7b1f5ff..7da81bbd1 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -621,7 +621,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector& 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; }