nealrichardson commented on issue #35140:
URL: https://github.com/apache/arrow/issues/35140#issuecomment-1509271404

   But this is about cmake and not pkg-config. It turns out the cmake files are 
present in the homebrew build:
   
   ```
   % ls /usr/local/Cellar/apache-arrow/11.0.0_3/lib/cmake/Arrow
   ArrowConfig.cmake            FindBrotliAlt.cmake             Findlz4Alt.cmake
   ArrowConfigVersion.cmake     FindOpenSSLAlt.cmake            Findre2Alt.cmake
   ArrowOptions.cmake           FindProtobufAlt.cmake           
Findutf8proc.cmake
   ArrowTargets-release.cmake   FindSnappyAlt.cmake             
FindzstdAlt.cmake
   ArrowTargets.cmake           FindThriftAlt.cmake             
arrow-config.cmake
   FindAWSSDKAlt.cmake          FindgRPCAlt.cmake
   ```
   
   I misread the original report, it's about `LIB_DIR` not being set in the 
case where the libs are found by pkg-config, and that's why ArrowOptions.cmake 
isn't being found. I think restoring the deleted line they mentioned, probably 
protected inside `if [ "$LIB_DIR" = "" ];` for the other cases where `LIB_DIR` 
does get set correctly, would fix this (and possibly #31989?). 
   
   `arrow` vs. `arrow-dataset` isn't relevant here because all of the option 
flags for all of the libs are in `lib/cmake/Arrow/ArrowOptions.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: [email protected]

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

Reply via email to