Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions utils/cmake/colours.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ if(NOT WIN32)
set(BoldCyan "${Esc}[1;36m")
set(BoldWhite "${Esc}[1;37m")
endif()

# Ninja builds are not coloured, compilers detect their output being piped and
# remove it. This makes CMake > 3.24 add extra compiler flags to force colour
# and has no effect on older CMake versions
set(CMAKE_COLOR_DIAGNOSTICS On)