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.
5 lines
242 B
CMake
5 lines
242 B
CMake
set(LIBRARY_DIR "${Datastore_SOURCE_DIR}/contrib/magic_enum")
|
|
add_library(_magic_enum INTERFACE)
|
|
target_include_directories(_magic_enum SYSTEM INTERFACE ${LIBRARY_DIR}/include/magic_enum)
|
|
add_library(ch_contrib::magic_enum ALIAS _magic_enum)
|