sdy72 commented on issue #14920:
URL: https://github.com/apache/arrow/issues/14920#issuecomment-1358087952

   Thanks kou
   I played around with messages you suggested and found something that could 
be the issue. 
   I attached a little cmake toy example and I was able to reproduce an error 
on both my Ubuntu/22.04 LTS (cmake 3.22.1)
   as well as my Raspberry PI described above.
   
   I looked at this:
   
https://github.com/apache/arrow/blob/16d40c844a98129299224d871b65f258d5ec8741/cpp/cmake_modules/FindPython3Alt.cmake#L60
   
   It makes a difference whether you put this
   `find_package(Python3 ...`
   or 
   `find_package(Python ...`
   
   Please check this toy example:
   
[CMakeLists.txt](https://github.com/apache/arrow/files/10261809/CMakeLists.txt)
   


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