mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 13:10:37 +00:00
`python-pyarrow` and `libarrow-cpp` packages versions were required to be aligned and they were built from the same source so they were united into package and its subpackage to reduce maintenance cost.
19 lines
646 B
Diff
19 lines
646 B
Diff
--- a/python/CMakeLists.txt
|
|
+++ b/python/CMakeLists.txt
|
|
@@ -256,6 +256,7 @@
|
|
|
|
# Python and Numpy libraries
|
|
find_package(Python3Alt REQUIRED)
|
|
+include_directories(SYSTEM ${NUMPY_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
|
|
message(STATUS "Found NumPy version: ${Python3_NumPy_VERSION}")
|
|
message(STATUS "NumPy include dir: ${NUMPY_INCLUDE_DIRS}")
|
|
|
|
@@ -460,7 +461,6 @@
|
|
else()
|
|
target_link_libraries(arrow_python PRIVATE ${PYARROW_CPP_LINK_LIBS})
|
|
endif()
|
|
-target_link_libraries(arrow_python PUBLIC Python3::NumPy)
|
|
target_compile_definitions(arrow_python PRIVATE ARROW_PYTHON_EXPORTING)
|
|
install(TARGETS arrow_python
|
|
ARCHIVE DESTINATION .
|