Skip to content

Commit

Permalink
[CMake] fix links of python module
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Apr 21, 2021
1 parent 968385b commit 9d74a70
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/ndcurves/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d74a70

Please # to comment.