We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e75d9 commit 6ff7ca8Copy full SHA for 6ff7ca8
CMakeLists.txt
@@ -85,6 +85,14 @@ if(NOT SKBUILD)
85
list(APPEND CMAKE_MODULE_PATH "${SKBUILD_LOCATION}/resources/cmake")
86
endif()
87
88
+#NumPy headers
89
+execute_process(
90
+ COMMAND "${PYTHON_EXECUTABLE}"
91
+ -c "import numpy; print(numpy.get_include())"
92
+ OUTPUT_VARIABLE NumPy_INCLUDE_DIRS
93
+ OUTPUT_STRIP_TRAILING_WHITESPACE
94
+)
95
+
96
find_package(PythonExtensions REQUIRED)
97
find_package(Cython REQUIRED)
98
find_package(NumPy REQUIRED)
0 commit comments