zfoobar commented on issue #34841:
URL: https://github.com/apache/arrow/issues/34841#issuecomment-1496744959

   OK - so the fact that the build system installs Arrow/arrow-config.cmake in 
the install dir means it's expecting config mode.  The simplest thing to do in 
the docs is just change find_package(Arrow) to find_package(Arrow CONFIG). If 
you don't change the docs, you're going to have to change the build system to 
produce a FindArrow.cmake - but why bother? 
   
   see https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html
   
   _The 
[find_package()](https://cmake.org/cmake/help/latest/command/find_package.html#command:find_package)
 command may be used to search for the package configuration file. This command 
constructs a set of installation prefixes and searches under each prefix in 
several locations. Given the name Foo, it looks for a file called 
FooConfig.cmake or **foo-config.cmake**. The full set of locations is specified 
in the 
[find_package()](https://cmake.org/cmake/help/latest/command/find_package.html#command:find_package)
 command documentation. One place it looks is:_


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