diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index 94a4c035f01c77612714ce80ef0a14fc62e3d144..f11f2a0cd58931377e992e57995412ca37ca7ba5 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -30,9 +30,13 @@ ELSE(BUILD_BENCHMARK) ADD_EXECUTABLE(timings EXCLUDE_FROM_ALL timings.cpp) ENDIF(BUILD_BENCHMARK) TARGET_LINK_LIBRARIES (timings ${PROJECT_NAME}) +PKG_CONFIG_USE_DEPENDENCY(timings eigen3) IF(BUILD_PYTHON_INTERFACE) TARGET_LINK_LIBRARIES(timings ${PYTHON_LIBRARIES}) ENDIF(BUILD_PYTHON_INTERFACE) +IF(${URDFDOM_FOUND}) + PKG_CONFIG_USE_DEPENDENCY(timings urdfdom) +ENDIF(${URDFDOM_FOUND}) SET_TARGET_PROPERTIES (timings PROPERTIES COMPILE_DEFINITIONS PINOCCHIO_SOURCE_DIR="${${PROJECT_NAME}_SOURCE_DIR}") # timings