Skip to content

Commit f1f3604

Browse files
remove cmake color diagnostic flags (#78098)
1 parent ec8ea94 commit f1f3604

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Runtimes/Core/cmake/modules/CompilerSettings.cmake

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,3 @@ HAVE_SWIFT_ASYNC_CALL)
4444
if(NOT HAVE_SWIFT_ASYNC_CALL)
4545
message(SEND_ERROR "CXX Compiler must support Swift async calling conventions")
4646
endif()
47-
48-
check_compiler_flag(Swift "-color-diagnostics" HAVE_SWIFT_COLOR_DIAGNOSTICS)
49-
if(HAVE_SWIFT_COLOR_DIAGNOSTICS)
50-
add_compile_options($<$<COMPILE_LANGUAGE:Swift>:-color-diagnostics>)
51-
endif()
52-
53-
check_compiler_flag(Swift "-diagnostic-style swift" HAVE_SWIFT_DIAGNOSTIC_STYLE)
54-
if(HAVE_SWIFT_DIAGNOSTIC_STYLE)
55-
add_compile_options($<$<COMPILE_LANGUAGE:Swift>:-diagnostic-style$<SEMICOLON>swift>)
56-
endif()

0 commit comments

Comments
 (0)