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.
13 lines
409 B
CMake
13 lines
409 B
CMake
set(LIBRARY_DIR "${Datastore_SOURCE_DIR}/contrib/wordnet-blast")
|
|
|
|
set(SRCS
|
|
"${LIBRARY_DIR}/wnb/core/info_helper.cc"
|
|
"${LIBRARY_DIR}/wnb/core/load_wordnet.cc"
|
|
"${LIBRARY_DIR}/wnb/core/wordnet.cc"
|
|
)
|
|
|
|
add_library(_wnb ${SRCS})
|
|
target_link_libraries(_wnb PRIVATE boost::headers_only boost::graph)
|
|
target_include_directories(_wnb SYSTEM PUBLIC "${LIBRARY_DIR}")
|
|
add_library(ch_contrib::wnb ALIAS _wnb)
|