enhance: fix not find arrow::parquet lib (#33928)

Signed-off-by: yusheng.ma <yusheng.ma@zilliz.com>
pull/33932/head^2
presburger 2024-06-18 00:22:01 +08:00 committed by GitHub
parent 88cca9d90f
commit e83ecd5074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class MilvusConan(ConanFile):
"lz4/1.9.4",
"snappy/1.1.9",
"lzo/2.10",
"arrow/12.0.1",
"arrow/15.0.0",
"openssl/3.1.2",
"aws-sdk-cpp/1.9.234",
"googleapis/cci.20221108",

View File

@ -23,7 +23,7 @@ file(GLOB_RECURSE SRC_FILES src/*.cpp src/*.cc)
message(STATUS "SRC_FILES: ${SRC_FILES}")
add_library(milvus-storage ${SRC_FILES})
target_include_directories(milvus-storage PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include/milvus-storage ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_link_libraries(milvus-storage PUBLIC arrow::arrow arrow::parquet Boost::boost protobuf::protobuf AWS::aws-sdk-cpp-core glog::glog)
target_link_libraries(milvus-storage PUBLIC arrow::arrow Boost::boost protobuf::protobuf AWS::aws-sdk-cpp-core glog::glog)
if (USE_OPENDAL)
target_link_libraries(milvus-storage PUBLIC opendal)
endif()