diff --git a/CMakeLists.txt b/CMakeLists.txt index 277278f92baf84db7e4df8cb6e6e05798027ca4f..db8f618e7de11891ddc5302e8787f1e570b2e89f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 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 8697388a60d06662d30e79967ce509cc55040694..e50ba639c65c2edde83610a0c46086ca607f1060 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 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 "") diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8fe037cfd444d60147c87cf346bd918ff2d1c573..9ff9ef09e6020f2dc9ef28228c6a09d5862d6604 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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)