kou commented on issue #41624:
URL: https://github.com/apache/arrow/issues/41624#issuecomment-3932750992

   Does this work?
   
   ```diff
   diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   index e84b2accb8..935584c534 100644
   --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
   +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   @@ -1833,6 +1833,8 @@ function(build_thrift)
      if(BOOST_VENDORED)
        target_link_libraries(thrift PUBLIC 
$<BUILD_LOCAL_INTERFACE:Boost::headers>)
        target_link_libraries(thrift PRIVATE 
$<BUILD_LOCAL_INTERFACE:arrow::Boost::locale>)
   +  else()
   +    target_link_libraries(thrift INTERFACE Boost::headers)
      endif()
    
      add_library(thrift::thrift INTERFACE IMPORTED)
   ```


-- 
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