Skip to content

Commit

Permalink
make boost components optional
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed Aug 10, 2022
1 parent cdb5b20 commit 57bdb36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1019,12 +1019,13 @@ if(ARROW_USE_BOOST)
# Find static boost headers and libs
set(Boost_USE_STATIC_LIBS ON)
endif()
if(ARROW_BOOST_REQUIRE_LIBRARY)
set(ARROW_BOOST_COMPONENTS "COMPONENTS system filesystem")
endif()
resolve_dependency(Boost
REQUIRED_VERSION
${ARROW_BOOST_REQUIRED_VERSION}
COMPONENTS
system
filesystem
${ARROW_BOOST_COMPONENTS}
IS_RUNTIME_DEPENDENCY
# libarrow.so doesn't depend on libboost*.
FALSE)
Expand Down

0 comments on commit 57bdb36

Please sign in to comment.