Skip to content

Commit

Permalink
fix boost with gtest
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang committed Jan 20, 2025
1 parent 6326ff6 commit bf4cb4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ if (WITH_OPENDAL)
endif()

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

find_package(Arrow REQUIRED)
find_package(Protobuf REQUIRED)
find_package(glog REQUIRED)
Expand Down
1 change: 1 addition & 0 deletions cpp/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class StorageConan(ConanFile):
"arrow:with_thrift": True,
"arrow:with_jemalloc": True,
"boost:without_test": True,
"boost:without_stacktrace": True,
}
exports_sources = (
"src/*",
Expand Down
2 changes: 1 addition & 1 deletion cpp/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ add_executable(
)

target_link_libraries(
milvus_test GTest::gtest_main milvus-storage
milvus_test milvus-storage GTest::gtest GTest::gtest_main
)

include(GoogleTest)
Expand Down

0 comments on commit bf4cb4d

Please sign in to comment.