mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Remove the code
This commit is contained in:
parent
b6eef61378
commit
75aff7fc1a
@ -59,15 +59,3 @@ target_link_libraries (_avrocpp PRIVATE boost::headers_only boost::iostreams)
|
|||||||
target_compile_definitions (_avrocpp PUBLIC SNAPPY_CODEC_AVAILABLE)
|
target_compile_definitions (_avrocpp PUBLIC SNAPPY_CODEC_AVAILABLE)
|
||||||
target_include_directories (_avrocpp PRIVATE ${SNAPPY_INCLUDE_DIR})
|
target_include_directories (_avrocpp PRIVATE ${SNAPPY_INCLUDE_DIR})
|
||||||
target_link_libraries (_avrocpp PRIVATE ch_contrib::snappy)
|
target_link_libraries (_avrocpp PRIVATE ch_contrib::snappy)
|
||||||
|
|
||||||
# create a symlink to include headers with <avro/...>
|
|
||||||
set(AVRO_INCLUDE_DIR "${CMAKE_CURRENT_BINARY_DIR}/include")
|
|
||||||
ADD_CUSTOM_COMMAND(OUTPUT "${AVRO_INCLUDE_DIR}"
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E make_directory "${AVRO_INCLUDE_DIR}"
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E create_symlink "${AVROCPP_ROOT_DIR}/api" "${AVRO_INCLUDE_DIR}/avro"
|
|
||||||
DEPENDS "${AVROCPP_ROOT_DIR}/api"
|
|
||||||
)
|
|
||||||
ADD_CUSTOM_TARGET(avro_symlink_headers ALL
|
|
||||||
DEPENDS "${AVRO_INCLUDE_DIR}")
|
|
||||||
add_dependencies(_avrocpp avro_symlink_headers)
|
|
||||||
target_include_directories(_avrocpp SYSTEM BEFORE PUBLIC "${AVRO_INCLUDE_DIR}")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user