packages/libarrow-cpp

This commit is contained in:
termux-actions[bot]
2022-04-26 12:42:03 +00:00
parent f7100b951a
commit 114bb7a0ca
3 changed files with 63 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
--- a/cpp/cmake_modules/FindPython3Alt.cmake
+++ b/cpp/cmake_modules/FindPython3Alt.cmake
@@ -23,6 +23,7 @@
# - PYTHON_OTHER_LIBS
# - NUMPY_INCLUDE_DIRS
+if(FALSE)
# Need CMake 3.15 or later for Python3_FIND_STRATEGY
if(${CMAKE_VERSION} VERSION_LESS "3.15.0")
# Use deprecated Python- and NumPy-finding code
@@ -69,6 +70,7 @@
set(PYTHON_OTHER_LIBS)
get_target_property(NUMPY_INCLUDE_DIRS Python3::NumPy INTERFACE_INCLUDE_DIRECTORIES)
+endif(FALSE)
# CMake's python3_add_library() doesn't apply the required extension suffix,
# detect it ourselves.