diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 425aa3a..299c6fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -711,6 +711,12 @@ IF (HDF5_ENABLE_PARALLEL) ELSE (PYTHONLIBS_FOUND) MESSAGE (FATAL_ERROR "Could not find Python Libraries, please check PYTHON_INCLUDE_DIR.") ENDIF (PYTHONLIBS_FOUND) + FIND_PACKAGE(PythonNumPy REQUIRED) + IF (PYTHON_NUMPY_FOUND) + INCLUDE_DIRECTORIES (${PYTHON_NUMPY_INCLUDE_DIR}) + ELSE (PYTHON_NUMPY_FOUND) + MESSAGE (FATAL_ERROR "Could not find NumPy headers, please check PYTHON_EXECUTABLE.") + ENDIF (PYTHON_NUMPY_FOUND) ENDIF (HDF5_ENABLE_PYTHON) ENDIF (HDF5_ENABLE_EFF) ENDIF (HDF5_ENABLE_PARALLEL) |