The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: Enable colored compiler errors by default

Noticeable when using Ninja as generator

+2 -2
+2 -2
CMakeLists.txt
··· 429 429 endif() 430 430 431 431 # Make sure we have pretty colours 432 - option(FORCE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." FALSE) 432 + option(DISABLE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." OFF) 433 433 434 - if(FORCE_COLORED_OUTPUT) 434 + if(NOT DISABLE_COLORED_OUTPUT) 435 435 if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") 436 436 add_compile_options(-fdiagnostics-color=always) 437 437 elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")