From 3145c5d5f5c045a59faace2a3f07d49f8f44f9f3 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Mon, 12 Feb 2024 12:02:42 +0100 Subject: [PATCH] Add missing install target for ch/chc/chl Signed-off-by: Azat Khuzhin --- programs/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/programs/CMakeLists.txt b/programs/CMakeLists.txt index 7ebbf52ea7e..dac168bd226 100644 --- a/programs/CMakeLists.txt +++ b/programs/CMakeLists.txt @@ -194,11 +194,14 @@ clickhouse_program_install(clickhouse-server server) # client clickhouse_program_install(clickhouse-client client) add_custom_target (chc ALL COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse chc DEPENDS clickhouse) +install (FILES "${CMAKE_CURRENT_BINARY_DIR}/chc" DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse) # local clickhouse_program_install(clickhouse-local local) add_custom_target (chl ALL COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse chl DEPENDS clickhouse) +install (FILES "${CMAKE_CURRENT_BINARY_DIR}/chl" DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse) add_custom_target (ch ALL COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse ch DEPENDS clickhouse) +install (FILES "${CMAKE_CURRENT_BINARY_DIR}/ch" DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse) clickhouse_program_install(clickhouse-benchmark benchmark) clickhouse_program_install(clickhouse-copier copier)