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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   As seen on the iceberg-cpp report here:
   - https://github.com/apache/iceberg-cpp/issues/1028
   
   Building Arrow via FetchContent on iceberg with older CMake fails. This is 
because:
   > For older versions of CMake the variable arrow_SOURCE_DIR is overriden by 
FetchContent's one because project(arrow) sets it as a cache variable while 
FetchContent sets a normal variable with precedence. Arrow can't find 
thirdparty/versions.txt because it is pointing to the tarball root instead of 
the cpp subfolder. See policy 
https://cmake.org/cmake/help/latest/policy/CMP0180.html
   > We should fix upstream Arrow so it does not rely on arrow_SOURCE_DIR to 
allow older CMake builds.
   
   See the PR I did here with the patch:
   - https://github.com/apache/iceberg-cpp/pull/1029
   
   ### 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: [email protected]

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

Reply via email to