tobim commented on pull request #7696:
URL: https://github.com/apache/arrow/pull/7696#issuecomment-656880866


   > We can't put the Arrow toolchain libraries in INTERFACE_LINK_LIBRARIES 
because they will be unrecognized by the third party project.
   
   I still think that `"-DARROW_DEPENDENCY_SOURCE=SYSTEM"` should work with 
`arrow-static`.
   
   For this case my opinion is that non-vendored dependencies should not be 
bundled. Normally I want use the SYSTEM libraries for dependencies. As a 
developer of a third-party I do not want arrow to add symbols it does not own 
to my static linking process.
   
   May I suggest a different solution for that aspect of the problem: CMake 
provides a [module for declaring 
dependencies](https://cmake.org/cmake/help/latest/module/CMakeFindDependencyMacro.html)
 in the templated _Project_Config.cmake. That allows you to insert your own 
dependencies to the target graph of the downstream project.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to