ClickHouse/cmake/find/blake3.cmake
2022-01-10 23:12:32 +03:00

10 lines
280 B
CMake

option(USE_BLAKE3 "Enable BLAKE3" ${ENABLE_LIBRARIES})
if (NOT USE_BLAKE3)
return()
endif()
if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/BLAKE3/README.md")
message (ERROR "submodule contrib/BLAKE3 is missing. to fix try run: \n git submodule update --init")
endif()