KHARSHAVARDHAN-eng opened a new pull request, #50643: URL: https://github.com/apache/arrow/pull/50643
## Rationale for this change Bundled Abseil static library targets (`absl::...`) are currently registered in `ARROW_BUNDLED_STATIC_LIBS` from `build_protobuf()` under the `CMAKE_CROSSCOMPILING` code path. Since these targets belong to Abseil, their registration is more appropriately owned by `build_absl()`. Moving the registration there removes the coupling between Abseil target registration and Protobuf, while ensuring the bundled Abseil targets are registered whenever Abseil is built from source. Closes: #50637 ## What changes are included in this PR? - Move the registration of bundled Abseil static library targets (`absl::...`) from `build_protobuf()` to `build_absl()`. - Export the updated `ARROW_BUNDLED_STATIC_LIBS` from `build_absl()` using `PARENT_SCOPE`. - Remove the redundant Abseil target registration from `build_protobuf()`. ## Are these changes tested? Yes. - Configured and built `arrow_static` with bundled dependencies enabled (`ARROW_DEPENDENCY_SOURCE=BUNDLED`). - Verified the generated `ArrowConfig.cmake` contains the expected bundled Abseil targets followed by `protobuf::libprotobuf`. - Verified the CMake conditional code path guarded by `CMAKE_CROSSCOMPILING`. ## Are there any user-facing changes? No. This change only affects the internal CMake dependency registration logic used when building bundled dependencies. -- 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]
