Skip to content
Snippets Groups Projects
Commit 10d00db1 authored by Wolfgang Merkt's avatar Wolfgang Merkt
Browse files

Do not use SYSTEM include Python/NumPy (cf. #68)

parent 5977b10c
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,9 @@ OPTION (BUILD_UNIT_TESTS "Build the unitary tests" ON)
FINDPYTHON()
INCLUDE_DIRECTORIES(SYSTEM ${PYTHON_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
FIND_NUMPY()
INCLUDE_DIRECTORIES(SYSTEM ${NUMPY_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(${NUMPY_INCLUDE_DIRS})
# ----------------------------------------------------
# --- DEPENDANCIES -----------------------------------
......@@ -137,8 +137,8 @@ ADD_SUBDIRECTORY(python)
ADD_SUBDIRECTORY(unittest)
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
PKG_CONFIG_APPEND_CFLAGS("-isystem${PYTHON_INCLUDE_DIRS}")
PKG_CONFIG_APPEND_CFLAGS("-isystem${NUMPY_INCLUDE_DIRS}")
PKG_CONFIG_APPEND_CFLAGS("-I${PYTHON_INCLUDE_DIRS}")
PKG_CONFIG_APPEND_CFLAGS("-I${NUMPY_INCLUDE_DIRS}")
PKG_CONFIG_APPEND_BOOST_LIBS(${BOOST_COMPONENTS})
SETUP_PROJECT_FINALIZE()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment