For littlecheck/pexpect this just unconditionally enables color. I have no idea what happens if you run cmake outside of a terminal , but the worst that can happen is that *errors* have color escapes in them. If someone figures out how to get cmake to tell us if it's running in a terminal, we can add a check.