@ -140,6 +140,7 @@ if(${ENABLE_LITE_MODE} STREQUAL "ON")
|
||||
set(ENABLE_LLVM_COMPILE OFF)
|
||||
set(ENABLE_GSS OFF)
|
||||
set(KRB5 OFF)
|
||||
set(USE_LIBXML OFF)
|
||||
endif()
|
||||
|
||||
if(${ENABLE_OPENEULER_MAJOR} STREQUAL "ON")
|
||||
|
||||
@ -282,6 +282,13 @@ if(${ENABLE_MEMORY_CHECK})
|
||||
list(APPEND gaussdb_LINK_LIBS ${MEMCHECK_LIBS})
|
||||
list(APPEND gaussdb_LINK_DIRS ${MEMCHECK_LINK_DIRECTORIES})
|
||||
endif()
|
||||
|
||||
if(${USE_LIBXML})
|
||||
include_directories(${LIBXML_INCLUDE_PATH})
|
||||
list(APPEND gaussdb_LINK_LIBS -lxml2)
|
||||
list(APPEND gaussdb_LINK_DIRS ${LIBXML_LIB_PATH})
|
||||
endif()
|
||||
|
||||
if(NOT "${ENABLE_LITE_MODE}" STREQUAL "ON")
|
||||
list(APPEND gaussdb_LINK_LIBS -lz -lminiunz -leSDKOBS -leSDKLogAPI -lpcre -liconv -lnghttp2 -llog4cpp -lcurl -llz4 -lcjson -l${JEMALLOC_LIB_NAME} -lcgroup -lzstd -lcom_err_gauss -lgssapi_krb5_gauss -lkrb5_gauss -lgssrpc_gauss -lk5crypto_gauss -lkadm5clnt_mit -lkadm5srv_mit -lkdb5 -lkrb5support_gauss -lstdc++ -lboost_thread -lboost_chrono -lboost_system -lboost_atomic -lxml2 -laio -lncurses -ltinfo)
|
||||
else()
|
||||
@ -319,8 +326,7 @@ include_directories(
|
||||
)
|
||||
|
||||
if(NOT "${ENABLE_LITE_MODE}" STREQUAL "ON")
|
||||
include_directories(
|
||||
${LIBXML_INCLUDE_PATH}
|
||||
include_directories(
|
||||
${LIBOBS_INCLUDE_PATH}
|
||||
${KERBEROS_INCLUDE_PATH}
|
||||
)
|
||||
@ -346,7 +352,6 @@ list(APPEND gaussdb_LINK_DIRS
|
||||
|
||||
if(NOT "${ENABLE_LITE_MODE}" STREQUAL "ON")
|
||||
list(APPEND gaussdb_LINK_DIRS
|
||||
${LIBXML_LIB_PATH}
|
||||
${LIBOBS_LIB_PATH}
|
||||
${KERBEROS_LIB_PATH}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user