diff --git a/CMakeLists.txt b/CMakeLists.txt index a95962d5874c2d1100f5adae0c3faf77cb645d91..a20f12a1a481cdb008c7a82da1660f6a7e9fa24f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,9 +26,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) IF(BUILD_PYTHON_INTERFACE) FINDPYTHON() STRING(REGEX REPLACE "-" "_" PY_NAME ${PROJECT_NAME}) + SEARCH_FOR_BOOST_PYTHON(REQUIRED) ADD_PROJECT_DEPENDENCY(eigenpy REQUIRED) - SET(BOOST_COMPONENTS python) - SEARCH_FOR_BOOST() ENDIF(BUILD_PYTHON_INTERFACE) # Project dependencies diff --git a/cmake b/cmake index a61ae61479a1d50d1ae3c988d1d9aaf20841173d..32015cb28d977b592227675665d17d11531ef418 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit a61ae61479a1d50d1ae3c988d1d9aaf20841173d +Subproject commit 32015cb28d977b592227675665d17d11531ef418 diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 3776061f24f8449139fa799bf835e2e202602f96..8c8c163832aae2736603b6c4d517311ffec7a136 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,6 +1,6 @@ # Define the wrapper library that wraps our library ADD_LIBRARY(${PY_NAME} SHARED centroidal_dynamics_python) -TARGET_LINK_LIBRARIES(${PY_NAME} ${Boost_LIBRARIES} ${PROJECT_NAME} eigenpy::eigenpy) +TARGET_LINK_LIBRARIES(${PY_NAME} ${PROJECT_NAME} eigenpy::eigenpy) # don't prepend wrapper library name with lib SET_TARGET_PROPERTIES(${PY_NAME} PROPERTIES PREFIX "")