mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
11 lines
349 B
CMake
11 lines
349 B
CMake
option (ENABLE_MSGPACK "Enable msgpack library" ${ENABLE_LIBRARIES})
|
|
|
|
if(NOT ENABLE_MSGPACK)
|
|
message(STATUS "Not using msgpack")
|
|
return()
|
|
endif()
|
|
|
|
add_library(_msgpack INTERFACE)
|
|
target_include_directories(_msgpack SYSTEM BEFORE INTERFACE "${ClickHouse_SOURCE_DIR}/contrib/msgpack-c/include")
|
|
add_library(ch_contrib::msgpack ALIAS _msgpack)
|