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 777f3f1 commit 5ad5096Copy full SHA for 5ad5096
projects/pi-fortran/CMakeLists.txt
@@ -6,6 +6,14 @@ find_package(PythonInterp REQUIRED)
6
find_package(PythonLibs)
7
find_package(PythonExtensions REQUIRED)
8
9
+#NumPy headers
10
+execute_process(
11
+ COMMAND "${PYTHON_EXECUTABLE}"
12
+ -c "import numpy; print(numpy.get_include())"
13
+ OUTPUT_VARIABLE NumPy_INCLUDE_DIRS
14
+ OUTPUT_STRIP_TRAILING_WHITESPACE
15
+)
16
+
17
# F2PY headers
18
execute_process(
19
COMMAND "${PYTHON_EXECUTABLE}"
0 commit comments