mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20:31 +00:00
20 lines
787 B
Diff
20 lines
787 B
Diff
--- a/python/CMakeLists.txt
|
|
+++ b/python/CMakeLists.txt
|
|
@@ -260,6 +260,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}")
|
|
|
|
@@ -371,7 +372,7 @@
|
|
target_precompile_headers(arrow_python PUBLIC
|
|
"$<$<COMPILE_LANGUAGE:CXX>:arrow/python/pch.h>")
|
|
endif()
|
|
-target_link_libraries(arrow_python PUBLIC ${PYARROW_CPP_LINK_LIBS} Python3::NumPy)
|
|
+target_link_libraries(arrow_python PUBLIC ${PYARROW_CPP_LINK_LIBS})
|
|
target_compile_definitions(arrow_python PRIVATE ARROW_PYTHON_EXPORTING)
|
|
install(TARGETS arrow_python
|
|
ARCHIVE DESTINATION .
|