Build fix

This commit is contained in:
proller 2018-06-06 22:00:11 +03:00
parent 01a31414eb
commit 4dabc18585
2 changed files with 4 additions and 2 deletions

View File

@ -138,3 +138,7 @@ else ()
add_custom_target (clickhouse-bundle ALL DEPENDS ${CLICKHOUSE_BUNDLE})
endif ()
if (USE_EMBEDDED_COMPILER AND ENABLE_CLICKHOUSE_SERVER)
add_dependencies(clickhouse-server copy-headers)
endif ()

View File

@ -26,6 +26,4 @@ if (USE_EMBEDDED_COMPILER)
add_custom_target(copy-headers-clang ALL ${CMAKE_COMMAND} -E make_directory ${CLANG_HEADERS_DEST} && ${CMAKE_COMMAND} -E copy_if_different ${CLANG_HEADERS_DIR}/* ${CLANG_HEADERS_DEST} )
add_dependencies(copy-headers copy-headers-clang)
endif ()
add_dependencies(clickhouse-compiler-lib copy-headers)
endif ()