diff options
author | Brad King <brad.king@kitware.com> | 2019-03-04 13:28:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-04 13:28:56 (GMT) |
commit | 5c0ef417b8a85546e50f7107b0038cbb7d108d20 (patch) | |
tree | 8e46de1663bbaa71802fab849da0d08f1d4b1ff8 /Modules | |
parent | 77439d97fe66804f4cb69792bec5cbb6f5bb6e93 (diff) | |
parent | 8e3358336dba2af42279c16a277116fc8fdfb826 (diff) | |
download | CMake-5c0ef417b8a85546e50f7107b0038cbb7d108d20.zip CMake-5c0ef417b8a85546e50f7107b0038cbb7d108d20.tar.gz CMake-5c0ef417b8a85546e50f7107b0038cbb7d108d20.tar.bz2 |
Merge branch 'FindPython-NumPy-fix-include-dir' into release-3.14
Merge-request: !3053
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPython/Support.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 0138b04..ef8272c 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -1140,9 +1140,8 @@ if ("NumPy" IN_LIST ${_PYTHON_PREFIX}_FIND_COMPONENTS AND ${_PYTHON_PREFIX}_Inte OUTPUT_STRIP_TRAILING_WHITESPACE) if (NOT _${_PYTHON_PREFIX}_RESULT) find_path(${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR - NAMES arrayobject.h numpyconfig.h + NAMES "numpy/arrayobject.h" "numpy/numpyconfig.h" HINTS "${_${_PYTHON_PREFIX}_NumPy_PATH}" - PATH_SUFFIXES numpy NO_DEFAULT_PATH) endif() if(${_PYTHON_PREFIX}_NumPy_INCLUDE_DIR) |