mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix build
This commit is contained in:
parent
b4ac900462
commit
f459640269
@ -26,6 +26,8 @@ clickhouse_program_add(server)
|
||||
|
||||
install(FILES config.xml users.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-server COMPONENT clickhouse)
|
||||
|
||||
# TODO We actually need this on Mac, FreeBSD and AArch64.
|
||||
if (OS_LINUX AND ARCH_AMD64)
|
||||
# Embed default config files as a resource into the binary.
|
||||
# This is needed for two purposes:
|
||||
# 1. Allow to run the binary without download of any other files.
|
||||
@ -52,3 +54,4 @@ set_target_properties(clickhouse_server_configs PROPERTIES LINKER_LANGUAGE C)
|
||||
# libraries in linker command. To avoid this we hardcode whole-archive
|
||||
# library into single string.
|
||||
add_dependencies(clickhouse-server-lib clickhouse_server_configs)
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user