mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Attempt to fix an error when building on Mac [#CLICKHOUSE-2]
This commit is contained in:
parent
f6e0a4ae68
commit
fb38f8aaaa
@ -43,7 +43,8 @@ include (cmake/arch.cmake)
|
|||||||
|
|
||||||
if (CMAKE_GENERATOR STREQUAL "Ninja")
|
if (CMAKE_GENERATOR STREQUAL "Ninja")
|
||||||
# Turn on colored output. https://github.com/ninja-build/ninja/wiki/FAQ
|
# Turn on colored output. https://github.com/ninja-build/ninja/wiki/FAQ
|
||||||
set (COMPILER_FLAGS "${COMPILER_FLAGS} -fdiagnostics-color=always")
|
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always")
|
||||||
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
Loading…
Reference in New Issue
Block a user