Files
zooqueen 7306e24eea datastore rebrand fix: ${ClickHouse_SOURCE_DIR} -> ${Datastore_SOURCE_DIR} (project var)
project(Datastore) renamed the CMake auto-vars ClickHouse_SOURCE_DIR/BINARY_DIR; the contrib
*-cmake glue + top-level CMakeLists submodule check still referenced the old names -> undefined ->
false 'submodules not initialized'. Renamed all CMake refs (incl contrib glue). Found by spark build.
2026-06-21 21:03:07 -07:00

9 lines
293 B
CMake

set(JSON_DIR ${Datastore_SOURCE_DIR}/contrib/nlohmann-json)
add_library(_nlohmann_json INTERFACE)
set_property(
TARGET _nlohmann_json
APPEND
PROPERTY INTERFACE_INCLUDE_DIRECTORIES
${JSON_DIR}/single_include)
add_library(ch_contrib::nlohmann_json ALIAS _nlohmann_json)