mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Revert "cmake: Limit color output to terminals"
This reverts commit c1da999748aade38240f47eee179cdd58c144c78.
This commit is contained in:
parent
0e8c73f4af
commit
8f625e5744
@ -114,8 +114,8 @@ function(px4_add_common_flags)
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9)
|
||||
# enable color for gcc > 4.9 when stdout is terminal
|
||||
add_compile_options(-fdiagnostics-color=auto)
|
||||
# force color for gcc > 4.9
|
||||
add_compile_options(-fdiagnostics-color=always)
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.3)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user