mirror of
https://github.com/reactos/CMake.git
synced 2025-02-08 04:48:46 +00:00
Merge topic 'makefile-color-when-needed'
bfb9d34f Makefile: Print color escapes only when necessary
This commit is contained in:
commit
51d7a7bb3f
@ -2402,7 +2402,7 @@ void cmSystemTools::MakefileColorEcho(int color, const char* message,
|
||||
assumeTTY = 0;
|
||||
}
|
||||
|
||||
if(enabled)
|
||||
if(enabled && color != cmsysTerminal_Color_Normal)
|
||||
{
|
||||
// Print with color. Delay the newline until later so that
|
||||
// all color restore sequences appear before it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user