Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 47cd1e8

Browse files
authored
Merge pull request #56 from nim65s/devel
[CMake] add missing link with dynamic-graph-python
2 parents cd91dc9 + c6c121b commit 47cd1e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unitTesting/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ FOREACH(test ${tests})
4545
PKG_CONFIG_USE_DEPENDENCY(${test} pinocchio)
4646
PKG_CONFIG_USE_DEPENDENCY(${test} sot-core)
4747
PKG_CONFIG_USE_DEPENDENCY(${test} dynamic-graph)
48+
IF(BUILD_PYTHON_INTERFACE)
49+
TARGET_LINK_LIBRARIES(${test} dynamic-graph-python)
50+
ENDIF(BUILD_PYTHON_INTERFACE)
4851

4952
IF(${test}_plugins_dependencies)
5053
ADD_DEPENDENCIES(${EXECUTABLE_NAME} "${${test}_plugins_dependencies}")

0 commit comments

Comments
 (0)