mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
cmake: USE_INTERNAL_REPLXX_LIBRARY is ON by default now
As we don't now any system that ships it as a package Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
This commit is contained in:
parent
2c9c7c9e95
commit
9af119ea35
@ -12,7 +12,7 @@ if (NOT ENABLE_REPLXX)
|
||||
return()
|
||||
endif()
|
||||
|
||||
option (USE_INTERNAL_REPLXX_LIBRARY "Use internal replxx library" ${NOT_UNBUNDLED})
|
||||
option (USE_INTERNAL_REPLXX_LIBRARY "Use internal replxx library (Experimental: set to OFF on your own risk)" ON)
|
||||
|
||||
if (NOT USE_INTERNAL_REPLXX_LIBRARY)
|
||||
find_library(LIBRARY_REPLXX NAMES replxx replxx-static)
|
||||
@ -49,16 +49,16 @@ if (NOT LIBRARY_REPLXX OR NOT INCLUDE_REPLXX OR NOT EXTERNAL_REPLXX_WORKS)
|
||||
set (LIBRARY_DIR "${ClickHouse_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/io.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
|
||||
"${LIBRARY_DIR}/src/conversion.cxx"
|
||||
"${LIBRARY_DIR}/src/ConvertUTF.cpp"
|
||||
"${LIBRARY_DIR}/src/escape.cxx"
|
||||
"${LIBRARY_DIR}/src/history.cxx"
|
||||
"${LIBRARY_DIR}/src/io.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})
|
||||
|
Loading…
Reference in New Issue
Block a user