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.
14 lines
419 B
CMake
14 lines
419 B
CMake
option(ENABLE_SQIDS "Enable sqids support" ${ENABLE_LIBRARIES})
|
|
if ((NOT ENABLE_SQIDS))
|
|
message (STATUS "Not using sqids")
|
|
return()
|
|
endif()
|
|
|
|
set (SQIDS_SOURCE_DIR "${Datastore_SOURCE_DIR}/contrib/sqids-cpp")
|
|
set (SQIDS_INCLUDE_DIR "${SQIDS_SOURCE_DIR}/include")
|
|
|
|
add_library(_sqids INTERFACE)
|
|
target_include_directories(_sqids SYSTEM INTERFACE ${SQIDS_INCLUDE_DIR})
|
|
|
|
add_library(ch_contrib::sqids ALIAS _sqids)
|