raulcd opened a new pull request, #14045:
URL: https://github.com/apache/arrow/pull/14045

   The problem is only reproducible when using REQUIRED components on the 
find_package call:
   ```
   find_package(Arrow REQUIRED COMPONENTS dataset flight parquet) 
   ```
   due to the following macro automatically generated from 
[configure_package_config_file](https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html)
   
   ```
   macro(check_required_components _NAME)
     foreach(comp ${${_NAME}_FIND_COMPONENTS})
       if(NOT ${_NAME}_${comp}_FOUND)
         if(${_NAME}_FIND_REQUIRED_${comp})
           set(${_NAME}_FOUND FALSE)
         endif()
       endif()
     endforeach()
   endmacro()
   ```
   
   A possible solution is to add the `NO_CHECK_REQUIRED_COMPONENTS_MACRO`


-- 
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