mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-26 21:50:11 +00:00
packages/libarrow-cpp
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user