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

[CMake] fix links of python module

parent 968385b6
No related branches found
No related tags found
No related merge requests found
......@@ -12,11 +12,9 @@ SET(wrap ${PROJECT_NAME}_wrap)
ADD_LIBRARY(${wrap} SHARED ${${PROJECT_NAME}_WRAP_SOURCES})
SET_TARGET_PROPERTIES(${wrap} PROPERTIES OUTPUT_NAME ${PROJECT_NAME} PREFIX "")
TARGET_COMPILE_OPTIONS(${wrap} PRIVATE "-Wno-conversion")
TARGET_LINK_LIBRARIES(${wrap} ${PROJECT_NAME})
TARGET_LINK_LIBRARIES(${wrap} eigenpy::eigenpy)
TARGET_LINK_LIBRARIES(${wrap} Boost::serialization)
IF(CURVES_WITH_PINOCCHIO_SUPPORT)
TARGET_LINK_LIBRARIES(${wrap} pinocchio::pinocchio)
ENDIF(CURVES_WITH_PINOCCHIO_SUPPORT)
TARGET_LINK_BOOST_PYTHON(${wrap})
IF(APPLE)
# We need to change the extension for python bindings
......
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