commit again

This commit is contained in:
taiyang-li 2021-11-15 23:34:48 +08:00
parent 41d3ec2481
commit 74aeb835c0
3 changed files with 10 additions and 10 deletions

View File

@ -349,7 +349,7 @@ if (USE_S2_GEOMETRY)
add_subdirectory(s2geometry-cmake)
endif()
add_subdirectory (hive-metastore)
add_subdirectory (hive-metastore-cmake)
# Put all targets defined here and in subdirectories under "contrib/<immediate-subdir>" folders in GUI-based IDEs.
# Some of third-party projects may override CMAKE_FOLDER or FOLDER property of their targets, so they would not appear

View File

@ -0,0 +1,9 @@
set (SRCS
${ClickHouse_SOURCE_DIR}/contrib/hive-metastore/hive_metastore_constants.cpp
${ClickHouse_SOURCE_DIR}/contrib/hive-metastore/hive_metastore_types.cpp
${ClickHouse_SOURCE_DIR}/contrib/hive-metastore/ThriftHiveMetastore.cpp
)
add_library(hivemetastore ${SRCS})
target_link_libraries(hivemetastore PUBLIC ${THRIFT_LIBRARY})
target_include_directories(hivemetastore SYSTEM PUBLIC ${ClickHouse_SOURCE_DIR}/contrib/hive-metastore)

View File

@ -1,9 +0,0 @@
set (SRCS
${CMAKE_CURRENT_LIST_DIR}/hive_metastore_constants.cpp
${CMAKE_CURRENT_LIST_DIR}/hive_metastore_types.cpp
${CMAKE_CURRENT_LIST_DIR}/ThriftHiveMetastore.cpp
)
add_library(hivemetastore ${SRCS})
target_link_libraries(hivemetastore PUBLIC ${THRIFT_LIBRARY})
target_include_directories(hivemetastore SYSTEM PUBLIC ${CMAKE_CURRENT_LIST_DIR})