Skip to content

Commit

Permalink
cmake: Fixed multi line comment (p4lang#3513)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbolvansky authored Sep 5, 2022
1 parent 41d4d12 commit fea42ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clan
unset(_LD_OPT_USED)
endif()

set(BUILD_USE_COLOR OFF CACHE BOOL "Use color in C++ compiler output (even if "
"the compiler does not detect terminal, e.g. when using ccache/distcc)")
set(BUILD_USE_COLOR OFF CACHE BOOL "Use color in C++ compiler output (even if \
the compiler does not detect terminal, e.g. when using ccache/distcc)")
if (BUILD_USE_COLOR)
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always")
Expand Down

0 comments on commit fea42ce

Please sign in to comment.