Commit 9d5c46e9 authored by jcarpent's avatar jcarpent
Browse files

[CMake] Clean dependancies section

parent 4d77c0ec
...@@ -57,11 +57,16 @@ ENDIF(EIGEN_NUMPY_ALIGNED) ...@@ -57,11 +57,16 @@ ENDIF(EIGEN_NUMPY_ALIGNED)
# --- DEPENDANCIES ----------------------------------- # --- DEPENDANCIES -----------------------------------
# ---------------------------------------------------- # ----------------------------------------------------
ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5") ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5")
SET(BOOST_COMPONENTS python) SET(BOOST_COMPONENTS python)
SEARCH_FOR_BOOST() SEARCH_FOR_BOOST()
set(Python_ADDITIONAL_VERSIONS 2.7) # Add Boost path to include directories.
FINDPYTHON() INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
FINDPYTHON(2.7 EXACT REQUIRED)
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS})
FIND_NUMPY() FIND_NUMPY()
INCLUDE_DIRECTORIES(${NUMPY_INCLUDE_DIRS})
# ---------------------------------------------------- # ----------------------------------------------------
# --- INCLUDE ---------------------------------------- # --- INCLUDE ----------------------------------------
...@@ -99,9 +104,6 @@ ENDFOREACH(header) ...@@ -99,9 +104,6 @@ ENDFOREACH(header)
# ---------------------------------------------------- # ----------------------------------------------------
# --- TARGETS ---------------------------------------- # --- TARGETS ----------------------------------------
# ---------------------------------------------------- # ----------------------------------------------------
INCLUDE_DIRECTORIES(${PYTHON_INCLUDE_DIRS} ${NUMPY_INCLUDE_DIRS})
# Add Boost path to include directories.
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
SET(${PROJECT_NAME}_SOURCES SET(${PROJECT_NAME}_SOURCES
src/exception.cpp src/exception.cpp
......
Supports Markdown
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