Use colored diagnostics when building with cmake + ninja + clang
authoryoon@igalia.com <yoon@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Apr 2015 11:15:01 +0000 (11:15 +0000)
committeryoon@igalia.com <yoon@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 1 Apr 2015 11:15:01 +0000 (11:15 +0000)
commitdaa5ac9e348656160d7605280cee9ae4357e9954
treee6e5cdcad4b16b1e10c169b9dfa51a71c16e46d8
parent53ae1da94fc69e6dc75b85f2cb4167abc962cddc
Use colored diagnostics when building with cmake + ninja + clang
https://bugs.webkit.org/show_bug.cgi?id=143297

Reviewed by Žan Doberšek.

Because that ninja sets subprocess stdout/stderr to a pipe, clang
disables colored output.
This patch forces clang to use colored diagnostics when we are using
the ninja.

* Source/cmake/OptionsCommon.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
Source/cmake/OptionsCommon.cmake