From efaf99ff605d18142975388e073a6e5e3874a0c8 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 22 Mar 2018 15:08:16 +1100 Subject: [PATCH] cxx: attempt to enable coloured diagnostics on clang --- nc_cxx.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nc_cxx.cmake b/nc_cxx.cmake index a050797..f6c1e5b 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -19,6 +19,10 @@ include (compile_flag) include (test_restrict) +############################################################################### +append_compile_flag ("-fcolor-diagnostics") + + ############################################################################### append_compile_flag ("-std=c++1z") append_compile_flag ("-fpermissive")