File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,6 @@ if (ENABLE_CLICKHOUSE_KEEPER_CLIENT)
213213 if (NOT BUILD_STANDALONE_KEEPER)
214214 add_custom_command (TARGET clickhouse POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse clickhouse-keeper-client)
215215 install (FILES "${CMAKE_CURRENT_BINARY_DIR} /clickhouse-keeper-client" DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse)
216- else ()
217- add_custom_command (TARGET clickhouse-keeper POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse-keeper clickhouse-keeper-client)
218- install (FILES "${CMAKE_CURRENT_BINARY_DIR} /clickhouse-keeper-client" DESTINATION "${CMAKE_INSTALL_BINDIR} " COMPONENT clickhouse-keeper)
219216 endif ()
220217endif ()
221218
Original file line number Diff line number Diff line change @@ -33,4 +33,9 @@ if (BUILD_STANDALONE_KEEPER)
3333 clickhouse_make_empty_debug_info_for_nfpm(TARGET clickhouse-keeper DESTINATION_DIR ${CMAKE_CURRENT_BINARY_DIR} /../${SPLIT_DEBUG_SYMBOLS_DIR} )
3434 install (TARGETS clickhouse-keeper RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse)
3535 endif ()
36+
37+ if (ENABLE_CLICKHOUSE_KEEPER_CLIENT)
38+ add_custom_command (TARGET clickhouse-keeper POST_BUILD COMMAND ${CMAKE_COMMAND} -E create_symlink clickhouse-keeper clickhouse-keeper-client)
39+ install (FILES "${CMAKE_CURRENT_BINARY_DIR} /clickhouse-keeper-client" DESTINATION "${CMAKE_INSTALL_BINDIR} " COMPONENT clickhouse-keeper)
40+ endif ()
3641endif ()
You can’t perform that action at this time.
0 commit comments