Skip to content
Snippets Groups Projects
Commit c84717bc authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] sync submodule and its use

parent cf4d5997
No related branches found
Tags v4.10.0
No related merge requests found
Pipeline #14077 passed
......@@ -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
......
Subproject commit a61ae61479a1d50d1ae3c988d1d9aaf20841173d
Subproject commit 32015cb28d977b592227675665d17d11531ef418
# 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 "")
......
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