Skip to content

Commit

Permalink
cmake: explicitely link to eigenpy for Python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Oct 29, 2018
1 parent ae862a1 commit 3e1df38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unittest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,11 @@ IF(LUA5_FOUND)
ENDIF(LUA5_FOUND)

IF(BUILD_PYTHON_INTERFACE)
ADD_PINOCCHIO_UNIT_TEST(python_parser eigen3)
ADD_PINOCCHIO_UNIT_TEST(python_parser "eigen3;eigenpy")
ADD_TEST_CFLAGS(python_parser '-DPINOCCHIO_SOURCE_DIR=\\\"${${PROJECT_NAME}_SOURCE_DIR}\\\"')

TARGET_LINK_LIBRARIES(python_parser ${PYWRAP})
TARGET_LINK_LIBRARIES(python_parser ${PYTHON_LIBRARIES})
TARGET_LINK_LIBRARIES(python_parser ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
ENDIF(BUILD_PYTHON_INTERFACE)

# Work in progress
Expand Down

0 comments on commit 3e1df38

Please sign in to comment.