Skip to content
Snippets Groups Projects
Commit debc6e63 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Let cmake find path of Python.h file.

parent 2ae2b209
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,11 @@ except Exception: pass'"
message( STATUS "Python so extension ${PYTHON_SO_EXTENSION}" )
find_package(NumPy REQUIRED)
include_directories(${NUMPY_INCLUDE_DIRS})
find_package(PythonLibs REQUIRED)
include_directories( ${NUMPY_INCLUDE_DIRS} )
include_directories( ${PYTHON_INCLUDE_DIRS} )
add_definitions(-DUSE_NUMPY)
add_definitions(-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment