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

[CMake] sync submodule and its use

parent 678eb8db
No related branches found
Tags v4.10.0
No related merge requests found
Pipeline #11773 failed
......@@ -27,9 +27,8 @@ IF(BUILD_PYTHON_INTERFACE)
FINDPYTHON()
FIND_NUMPY()
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 bezier_com_traj.cpp )
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 "")
......
......@@ -7,5 +7,5 @@ SET(${PROJECT_NAME}_TESTS
FOREACH(test ${${PROJECT_NAME}_TESTS})
ADD_UNIT_TEST("${test}" "test-${test}")
TARGET_LINK_LIBRARIES(${test} ${Boost_LIBRARIES} ${PROJECT_NAME})
TARGET_LINK_LIBRARIES(${test} ${PROJECT_NAME})
ENDFOREACH(test)
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