raulcd commented on PR #48318: URL: https://github.com/apache/arrow/pull/48318#issuecomment-3608360260
I have continued working on this but I am unsure we can make `google-cloud-cpp` use FetchContent. This is what I am currently investigating. The problem is that `google-cloud-cpp` unconditionally does: `find_package(absl CONFIG REQUIRED)` https://github.com/googleapis/google-cloud-cpp/blob/d6aff236f88b608fd15e423cfe74a04c83b90882/CMakeLists.txt#L221 Abseil at that point is only configured and it tries to load the targets file due to the following on `build/_deps/absl-build/abslConfig.cmake`: ``` include ("${CMAKE_CURRENT_LIST_DIR}/abslTargets.cmake") ``` but the `abslTargets.cmake` file is only generated at install time. @kou do you have ideas for that? I'd love to get rid of all the manual target definitions for abseil but I am unsure what can we do without patching google-cloud-cpp or keeping it as `ExternalProject_Add` -- 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]
