Skip to content
Snippets Groups Projects
Commit c04cb70c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

force gcc colors

parent e5f3e10b
No related branches found
No related tags found
1 merge request!1327simplify scan distribution code
......@@ -179,6 +179,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CLANG ON)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(GCC ON)
string(APPEND CMAKE_CXX_FLAGS " -fdiagnostics-color=always")
elseif(NOT WIN32)
message(FATAL_ERROR "Unsupported compiler, id=${CMAKE_CXX_COMPILER_ID}")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment