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.
19 lines
598 B
CMake
19 lines
598 B
CMake
set (LIBRARY_DIR "${Datastore_SOURCE_DIR}/contrib/replxx")
|
|
|
|
set(SRCS
|
|
"${LIBRARY_DIR}/src/conversion.cxx"
|
|
"${LIBRARY_DIR}/src/ConvertUTF.cpp"
|
|
"${LIBRARY_DIR}/src/escape.cxx"
|
|
"${LIBRARY_DIR}/src/history.cxx"
|
|
"${LIBRARY_DIR}/src/terminal.cxx"
|
|
"${LIBRARY_DIR}/src/prompt.cxx"
|
|
"${LIBRARY_DIR}/src/replxx_impl.cxx"
|
|
"${LIBRARY_DIR}/src/replxx.cxx"
|
|
"${LIBRARY_DIR}/src/util.cxx"
|
|
"${LIBRARY_DIR}/src/wcwidth.cpp"
|
|
)
|
|
|
|
add_library (_replxx ${SRCS})
|
|
target_include_directories(_replxx SYSTEM PUBLIC "${LIBRARY_DIR}/include")
|
|
add_library(ch_contrib::replxx ALIAS _replxx)
|