Commit 0dcb3069 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: update for eigenpy 2.7.10

parent dab3c137
......@@ -30,7 +30,6 @@ ENDIF()
# JRL-cmakemodule setup
include("${JRL_CMAKE_MODULES}/base.cmake")
include("${JRL_CMAKE_MODULES}/boost.cmake")
include("${JRL_CMAKE_MODULES}/python.cmake")
# Project definition
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
......@@ -39,17 +38,16 @@ project(${PROJECT_NAME} ${PROJECT_ARGS})
ADD_COMPILE_OPTIONS(-Wno-error)
# Project dependencies
ADD_PROJECT_DEPENDENCY(ndcurves REQUIRED)
ADD_PROJECT_DEPENDENCY(crocoddyl REQUIRED)
ADD_PROJECT_DEPENDENCY(yaml-cpp REQUIRED)
if(BUILD_PYTHON_INTERFACE)
FINDPYTHON()
ADD_PROJECT_DEPENDENCY(eigenpy 2.7.10 REQUIRED)
string(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME})
set(${PY_NAME}_INSTALL_DIR ${PYTHON_SITELIB}/${PY_NAME})
SEARCH_FOR_BOOST_PYTHON()
endif()
ADD_PROJECT_DEPENDENCY(ndcurves REQUIRED)
ADD_PROJECT_DEPENDENCY(crocoddyl REQUIRED)
ADD_PROJECT_DEPENDENCY(yaml-cpp REQUIRED)
# Main Library
set(${PROJECT_NAME}_HEADERS
include/${PROJECT_NAME}/flexibility_compensation.hpp
......
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