mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
commit again
This commit is contained in:
parent
41d3ec2481
commit
74aeb835c0
2
contrib/CMakeLists.txt
vendored
2
contrib/CMakeLists.txt
vendored
@ -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
|
||||
|
9
contrib/hive-metastore-cmake/CMakeLists.txt
Normal file
9
contrib/hive-metastore-cmake/CMakeLists.txt
Normal 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)
|
@ -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})
|
Loading…
Reference in New Issue
Block a user