From 50e28d256611082ee44dea6e711f449de443c03e Mon Sep 17 00:00:00 2001 From: payetvin <113102157+payetvin@users.noreply.github.com> Date: Thu, 8 Aug 2024 16:47:19 +0200 Subject: [PATCH] Force color output in cmake (#2320) --- src/cmake/common-settings.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmake/common-settings.cmake b/src/cmake/common-settings.cmake index b659a5f46c..69d52bc3ad 100644 --- a/src/cmake/common-settings.cmake +++ b/src/cmake/common-settings.cmake @@ -14,6 +14,7 @@ set(COMMON_MSVC_FLAGS "/W3 /MP4") set(COMMON_MSVC_FLAGS "${COMMON_MSVC_FLAGS} /we4715 /we4716") #adding no return or no return for all code paths as errors set(ADDITIONAL_C_FLAGS " -Wconversion -Wmissing-prototypes -Wstrict-prototypes") set(ADDITIONAL_C_FLAGS "${ADDITIONAL_C_FLAGS} -Wmissing-noreturn -Wpacked -Wredundant-decls -Wbad-function-cast -W -Wcast-align -Wcast-qual -Wsign-compare -fno-exceptions -Wdeclaration-after-statement") +set(CMAKE_COLOR_DIAGNOSTICS on) Set(ANTARES_VERSION_TARGET "unknown")