[ 
https://issues.apache.org/jira/browse/ARROW-15905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17504831#comment-17504831
 ] 

Alessandro Molina edited comment on ARROW-15905 at 3/11/22, 10:19 AM:
----------------------------------------------------------------------

I can confirm I get the same warning too when building pyarrow. Might it be 
related to 
[https://github.com/Kitware/CMake/commit/56d949f05f37c65401825a30be0d39bd152cc33c]
 ?

 

I guess that similarly we are including {{FindPkgConfig}} instead of invoking 
the {{find_package}} directly


was (Author: amol-):
I can confirm I get the same warning too when building pyarrow. Might it be 
related to 
[https://github.com/Kitware/CMake/commit/56d949f05f37c65401825a30be0d39bd152cc33c]
 ?

> [Python] CMake warning when building PyArrow
> --------------------------------------------
>
>                 Key: ARROW-15905
>                 URL: https://issues.apache.org/jira/browse/ARROW-15905
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>            Reporter: Antoine Pitrou
>            Priority: Minor
>
> I get the following CMake warning, which doesn't seem to affect the build:
> {code}
> CMake Warning (dev) at 
> /home/antoine/miniconda3/envs/pyarrow/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438
>  (message):
>   The package name passed to `find_package_handle_standard_args` (PkgConfig)
>   does not match the name of the calling package (Arrow).  This can lead to
>   problems in calling code that expects `find_package` result variables
>   (e.g., `_FOUND`) to follow a certain pattern.
> Call Stack (most recent call first):
>   
> /home/antoine/miniconda3/envs/pyarrow/share/cmake-3.22/Modules/FindPkgConfig.cmake:99
>  (find_package_handle_standard_args)
>   cmake_modules/FindArrow.cmake:39 (include)
>   cmake_modules/FindArrowPython.cmake:46 (find_package)
>   CMakeLists.txt:231 (find_package)
> This warning is for project developers.  Use -Wno-dev to suppress it.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to