mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
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.
9 lines
293 B
CMake
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)
|