Use OUTPUT_NORMAL instead of OUTPUT_MERGE for cmake -E chdir.
Using OUTPUT_MERGE can cause the output to be jumbled in some cases.
This commit is contained in:
parent
caeca30936
commit
4ddd3b9fd1
@ -1423,7 +1423,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
|
|||||||
int retval = 0;
|
int retval = 0;
|
||||||
int timeout = 0;
|
int timeout = 0;
|
||||||
if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, &retval,
|
if ( cmSystemTools::RunSingleCommand(command.c_str(), 0, &retval,
|
||||||
directory.c_str(), cmSystemTools::OUTPUT_MERGE, timeout) )
|
directory.c_str(), cmSystemTools::OUTPUT_NORMAL, timeout) )
|
||||||
{
|
{
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user