From 279ae2e0836a91f8bff0a225ceaf733d4e072aa7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 13 Mar 2018 09:51:11 +0100 Subject: Enable colour diagnostics This is a hack. It should be disabled sometimes, e.g. if not compiling on a terminal. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 15576448..4b5717b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,7 @@ find_package(FDIP) find_package(OpenCL) include(config) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always") include_directories(${CMAKE_CURRENT_SOURCE_DIR}) add_definitions(-DHAVE_CONFIG_H -DDATADIR=\"${CMAKE_INSTALL_FULL_DATADIR}\") -- cgit v1.2.3