kou commented on code in PR #43606: URL: https://github.com/apache/arrow/pull/43606#discussion_r1709722409
########## cpp/cmake_modules/UseCython.cmake: ########## @@ -184,4 +184,24 @@ function(cython_add_module _name pyx_target_name generated_files) add_dependencies(${_name} ${pyx_target_name}) endfunction() +execute_process(COMMAND ${PYTHON_EXECUTABLE} -m cython --version Review Comment: Yes. I think that `try_compile()` https://cmake.org/cmake/help/latest/command/try_compile.html will help us if we use this approach. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org