Fix build

This commit is contained in:
zhangxiao871 2021-10-25 19:10:54 +08:00
parent 4e49eba087
commit 1710e5ea59
2 changed files with 3 additions and 1 deletions

View File

@ -183,6 +183,8 @@ endmacro()
add_object_library(clickhouse_access Access) add_object_library(clickhouse_access Access)
add_object_library(clickhouse_backups Backups) add_object_library(clickhouse_backups Backups)
add_object_library(clickhouse_core Core) add_object_library(clickhouse_core Core)
add_library (clickhouse_core_settings_enums Core/SettingsEnums.cpp)
target_link_libraries(clickhouse_core_settings_enums PRIVATE common clickhouse_common_io)
add_object_library(clickhouse_core_mysql Core/MySQL) add_object_library(clickhouse_core_mysql Core/MySQL)
add_object_library(clickhouse_compression Compression) add_object_library(clickhouse_compression Compression)
add_object_library(clickhouse_querypipeline QueryPipeline) add_object_library(clickhouse_querypipeline QueryPipeline)

View File

@ -4,7 +4,7 @@ add_headers_and_sources(clickhouse_common_zookeeper .)
add_library(clickhouse_common_zookeeper ${clickhouse_common_zookeeper_headers} ${clickhouse_common_zookeeper_sources}) add_library(clickhouse_common_zookeeper ${clickhouse_common_zookeeper_headers} ${clickhouse_common_zookeeper_sources})
target_link_libraries (clickhouse_common_zookeeper PUBLIC clickhouse_common_io common dbms PRIVATE string_utils) target_link_libraries (clickhouse_common_zookeeper PUBLIC clickhouse_core_settings_enums clickhouse_common_io common PRIVATE string_utils)
if (ENABLE_EXAMPLES) if (ENABLE_EXAMPLES)
add_subdirectory(examples) add_subdirectory(examples)