mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 07:11:52 +08:00
FindPython: Fix NumPy component include directory
Update the component added by commit 513e77550d
(FindPython: Introduce
NumPy component, 2018-12-12, v3.14.0-rc1~95^2). The `numpy/`
sub-directory should not be part of the include directory. It should be
part of the `#include` line.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "Python.h"
|
||||
|
||||
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
||||
#include "arrayobject.h"
|
||||
#include "numpy/arrayobject.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
Reference in New Issue
Block a user