mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 09:22:05 +00:00
10 lines
302 B
CMake
10 lines
302 B
CMake
option(USE_YAML_CPP "Enable yaml-cpp" ${ENABLE_LIBRARIES})
|
|
|
|
if (NOT USE_YAML_CPP)
|
|
return()
|
|
endif()
|
|
|
|
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/yaml-cpp/README.md")
|
|
message (ERROR "submodule contrib/yaml-cpp is missing. to fix try run: \n git submodule update --init --recursive")
|
|
endif()
|