mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Disable amqp-cpp and cassandra build if libuv is disabled
On MacOS/GCC, the libuv build is disabled due to a compiler bug. This is now propagated to dependent libraries amqp-cpp and cassandra. Oddly enough, the Mac/GCC build was broken since at least Jan 2022 without someone noticing.
This commit is contained in:
parent
33b2a50740
commit
557bb2d235
@ -5,6 +5,11 @@ if (NOT ENABLE_AMQPCPP)
|
|||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET ch_contrib::uv)
|
||||||
|
message(STATUS "Not using AMQP-CPP because libuv is disabled")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
set (LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/AMQP-CPP")
|
set (LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/AMQP-CPP")
|
||||||
|
|
||||||
set (SRCS
|
set (SRCS
|
||||||
|
@ -5,6 +5,11 @@ if (NOT ENABLE_CASSANDRA)
|
|||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET ch_contrib::uv)
|
||||||
|
message(STATUS "Not using cassandra because libuv is disabled")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
set(CMAKE_MACOSX_RPATH ON)
|
set(CMAKE_MACOSX_RPATH ON)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user