mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Implement the missing parts
This commit is contained in:
parent
691803cc94
commit
59cbae885e
@ -116,9 +116,13 @@ CONFIGURE_FILE(${CC_SOURCE_DIR}/include/ma_config.h.in
|
|||||||
CONFIGURE_FILE(${CC_SOURCE_DIR}/include/mariadb_version.h.in
|
CONFIGURE_FILE(${CC_SOURCE_DIR}/include/mariadb_version.h.in
|
||||||
${CC_BINARY_DIR}/include-public/mariadb_version.h)
|
${CC_BINARY_DIR}/include-public/mariadb_version.h)
|
||||||
|
|
||||||
if(WITH_SSL)
|
if (WITH_SSL)
|
||||||
set(SYSTEM_LIBS ${SYSTEM_LIBS} ${SSL_LIBRARIES})
|
set(SYSTEM_LIBS ${SYSTEM_LIBS} ${SSL_LIBRARIES})
|
||||||
endif()
|
endif ()
|
||||||
|
|
||||||
|
if (OS_DARWIN)
|
||||||
|
set(SYSTEM_LIBS ${SYSTEM_LIBS} iconv)
|
||||||
|
endif ()
|
||||||
|
|
||||||
|
|
||||||
function(REGISTER_PLUGIN)
|
function(REGISTER_PLUGIN)
|
||||||
@ -227,15 +231,8 @@ ${CC_SOURCE_DIR}/libmariadb/secure/openssl_crypt.c
|
|||||||
${CC_BINARY_DIR}/libmariadb/ma_client_plugin.c
|
${CC_BINARY_DIR}/libmariadb/ma_client_plugin.c
|
||||||
)
|
)
|
||||||
|
|
||||||
if(ICONV_INCLUDE_DIR)
|
|
||||||
include_directories(BEFORE ${ICONV_INCLUDE_DIR})
|
|
||||||
endif()
|
|
||||||
add_definitions(-DLIBICONV_PLUG)
|
add_definitions(-DLIBICONV_PLUG)
|
||||||
|
|
||||||
if(WITH_DYNCOL)
|
|
||||||
set(LIBMARIADB_SOURCES ${LIBMARIADB_SOURCES} ${CC_SOURCE_DIR}/libmariadb/mariadb_dyncol.c)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(LIBMARIADB_SOURCES ${LIBMARIADB_SOURCES} ${CC_SOURCE_DIR}/libmariadb/mariadb_async.c ${CC_SOURCE_DIR}/libmariadb/ma_context.c)
|
set(LIBMARIADB_SOURCES ${LIBMARIADB_SOURCES} ${CC_SOURCE_DIR}/libmariadb/mariadb_async.c ${CC_SOURCE_DIR}/libmariadb/ma_context.c)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user