assignUser commented on code in PR #13845:
URL: https://github.com/apache/arrow/pull/13845#discussion_r943296169


##########
cpp/cmake_modules/ThirdpartyToolchain.cmake:
##########
@@ -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}

Review Comment:
   (also sorry for just opening a PR for a ticket you are assigned  to. This 
issue was preventing us from submitting the R package to CRAN so we needed a 
fix fast and wanted to merge it back now)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to