summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël R. Langlois <joel.r.langlois@gmail.com>2019-02-25 15:26:58 -0500
committerEbrahim Byagowi <ebrahim@gnu.org>2019-02-25 23:56:58 +0330
commitd66f7e14a0097d8ca54ad9824f7aa7daee6c7f72 (patch)
tree136414c71e5273e3e4f8b0645df81e386d8f9816
parent93739242e1aab9b745d0ba3c22c33b4acaf9526c (diff)
Remove Forcing Diagnostic Colours from CMakeLists.txt (#1597)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1596
-rw-r--r--CMakeLists.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6a1a36df..f64f96d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -842,18 +842,6 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
endif ()
endif ()
-if (UNIX AND CMAKE_GENERATOR STREQUAL "Ninja")
- if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fcolor-diagnostics")
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fcolor-diagnostics")
- endif ()
- if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color")
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color")
- endif ()
-endif ()
-
-
if (HB_BUILD_TESTS)
## src/ executables
foreach (prog main test test-would-substitute test-size-params test-buffer-serialize hb-ot-tag test-unicode-ranges)