File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,16 @@ ENDIF(EIGEN_NUMPY_ALIGNED)
5757# --- DEPENDANCIES -----------------------------------
5858# ----------------------------------------------------
5959ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5" )
60+
6061SET (BOOST_COMPONENTS python)
6162SEARCH_FOR_BOOST()
62- set (Python_ADDITIONAL_VERSIONS 2.7)
63- FINDPYTHON()
63+ # Add Boost path to include directories.
64+ INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS} )
65+
66+ FINDPYTHON(2.7 EXACT REQUIRED)
67+ INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_DIRS} )
6468FIND_NUMPY()
69+ INCLUDE_DIRECTORIES (${NUMPY_INCLUDE_DIRS} )
6570
6671# ----------------------------------------------------
6772# --- INCLUDE ----------------------------------------
@@ -99,9 +104,6 @@ ENDFOREACH(header)
99104# ----------------------------------------------------
100105# --- TARGETS ----------------------------------------
101106# ----------------------------------------------------
102- INCLUDE_DIRECTORIES (${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIRS} )
103- # Add Boost path to include directories.
104- INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS} )
105107
106108SET (${PROJECT_NAME} _SOURCES
107109 src/exception.cpp
You can’t perform that action at this time.
0 commit comments