mirror of
https://github.com/hanzoai/datastore.git
synced 2026-10-30 14:48:37 +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.
15 lines
579 B
CMake
15 lines
579 B
CMake
# module crc32-vpmsum gets build along with the files vec_crc32.h and crc32_constants.h in crc32-vpmsum-cmake
|
|
# Please see README.md for information about how to generate crc32_constants.h
|
|
if (NOT ARCH_PPC64LE)
|
|
message (STATUS "crc32-vpmsum library is only supported on ppc64le")
|
|
return()
|
|
endif()
|
|
|
|
SET(LIBRARY_DIR "${Datastore_SOURCE_DIR}/contrib/crc32-vpmsum")
|
|
|
|
add_library(_crc32-vpmsum
|
|
"${LIBRARY_DIR}/vec_crc32.c"
|
|
)
|
|
target_include_directories(_crc32-vpmsum SYSTEM BEFORE PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
add_library(ch_contrib::crc32-vpmsum ALIAS _crc32-vpmsum)
|