kou commented on issue #46137: URL: https://github.com/apache/arrow/issues/46137#issuecomment-2840930687
https://github.com/apache/arrow/issues/46137#issuecomment-2830733844 showed that there is a problem in ```cmake if(ARROW_ORC) resolve_dependency(orc HAVE_ALT TRUE) if(ORC_VENDORED) set(ARROW_ORC_VERSION ${ARROW_ORC_BUILD_VERSION}) else() target_link_libraries(orc::orc INTERFACE ${ARROW_PROTOBUF_LIBPROTOBUF}) set(ARROW_ORC_VERSION ${orcAlt_VERSION}) message(STATUS "Found ORC static library: ${ORC_STATIC_LIB}") message(STATUS "Found ORC headers: ${ORC_INCLUDE_DIR}") endif() endif() ``` `resolve_dependency(orc)` calls `find_package(orc)` internally: https://github.com/apache/arrow/blob/3a018c896a7fbfbfe9db2ee970d063c09905fc62/cpp/cmake_modules/ThirdpartyToolchain.cmake#L291 `find_package(orc)` reads `orcConfig.cmake` or `Findorc.cmake`. See also: https://cmake.org/cmake/help/latest/command/find_package.html I know that Apache ORC uses `orcConfig.cmake`: https://github.com/apache/orc/blob/main/c%2B%2B/orcConfig.cmake.in So I thought that there is a problem in `orcConfig.cmake`. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org