raulcd opened a new pull request, #55415: URL: https://github.com/apache/arrow/pull/55415
### Rationale for this change When a dependency is not found on ORC its `find_dependency` returns without resetting previous `CMAKE_MODULE_PATH`: https://github.com/apache/orc/blob/32046606774da481182dce2956f336dc8e79a579/c%2B%2B/orcConfig.cmake.in#L45-L55 ### What changes are included in this PR? Maintain our `CMAKE_MODULE_PATH` before calling ORC. ### Are these changes tested? Not on our CI but this has been tested on downstream arrow-cpp-feedstock here: https://github.com/conda-forge/arrow-cpp-feedstock/pull/2100 ### Are there any user-facing changes? No ### Was AI used for this PR? In accordance to the [AI generation guidelines](https://arrow.apache.org/docs/dev/developers/overview.html#ai-generated-code), please disclose below whether and how AI was used in this PR. **PR code and description written by:** - [x] Human - [x] AI **Reviewed before submission by:** - [x] Human - [ ] AI - [ ] Not reviewed -- 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]
