Fix cmake for mac.

This commit is contained in:
Nikolai Kochetov 2022-01-21 22:08:42 +03:00
parent 43f2e2c178
commit b4311cf3c9

View File

@ -78,8 +78,10 @@ target_link_libraries (shell_command_inout PRIVATE clickhouse_common_io)
add_executable (executable_udf executable_udf.cpp)
target_link_libraries (executable_udf PRIVATE dbms)
add_executable (hive_metastore_client hive_metastore_client.cpp)
target_link_libraries (hive_metastore_client PUBLIC ch_contrib::hivemetastore ch_contrib::thrift)
if (ENABLE_HIVE)
add_executable (hive_metastore_client hive_metastore_client.cpp)
target_link_libraries (hive_metastore_client PUBLIC ch_contrib::hivemetastore ch_contrib::thrift)
endif()
add_executable (interval_tree interval_tree.cpp)
target_link_libraries (interval_tree PRIVATE dbms)