ClickHouse/cmake/find/yaml-cpp.cmake

10 lines
302 B
CMake
Raw Normal View History

2021-05-21 18:56:22 +00:00
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")
2021-05-21 18:56:22 +00:00
message (ERROR "submodule contrib/yaml-cpp is missing. to fix try run: \n git submodule update --init --recursive")
endif()