WillAyd opened a new issue, #46477:
URL: https://github.com/apache/arrow/issues/46477

   ### Describe the enhancement requested
   
   While submitting Arrow to Meson's wrapdb, the fact that Arrow requires a 
very specific version of flatbuffers is problematic when using it amongst other 
subprojects, which may or may not require the same version (see discussion at 
https://github.com/mesonbuild/wrapdb/pull/2099#issuecomment-2863319577)
   
   I have explored making it so that CMake would allow a dynamic version of 
flatbuffers in https://github.com/apache/arrow/pull/46471 , but that request is 
more complex than it seems, as flatbuffers creates not just a library but an 
executable for compilation. I think the only way to do that with CMake would be 
to use a rather complicated ExternalProject_Add configuration 
(FetchContent_MakeAvailable does not work, as it does not expose the flatc 
executable at config time for the rest of the CMake configuration).
   
   To avoid that CMake complexity for now, it's probably easier just to remove 
the Meson flatbuffers subproject usage and instead use the internally vendored 
copy
   
   ### Component(s)
   
   C++


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to