summaryrefslogtreecommitdiff
path: root/Tests/FindPython/NumPy
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-03-02 15:52:12 +0100
committerBrad King <brad.king@kitware.com>2019-03-04 08:28:21 -0500
commit8e3358336dba2af42279c16a277116fc8fdfb826 (patch)
tree36973a9bdf0dc6bdbf0e823f72a40485091bf0e9 /Tests/FindPython/NumPy
parent20a41aa589d4418f9ac46fc8c0402162d1d82873 (diff)
downloadcmake-8e3358336dba2af42279c16a277116fc8fdfb826.tar.gz
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.
Diffstat (limited to 'Tests/FindPython/NumPy')
-rw-r--r--Tests/FindPython/NumPy/arraytest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindPython/NumPy/arraytest.c b/Tests/FindPython/NumPy/arraytest.c
index 135877ddf9..db259e55a3 100644
--- a/Tests/FindPython/NumPy/arraytest.c
+++ b/Tests/FindPython/NumPy/arraytest.c
@@ -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>