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

Commit 7349c38

Browse files
[cmake] Uses eigenpy only when BUILD_PYTHON_INTERFACE is on.
1 parent e9b8450 commit 7349c38

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ FOREACH(lib ${plugins})
4343
TARGET_LINK_LIBRARIES(${libname} ${Boost_LIBRARIES})
4444

4545
PKG_CONFIG_USE_DEPENDENCY(${libname} pinocchio)
46+
IF(BUILD_PYTHON_INTERFACE)
47+
PKG_CONFIG_USE_DEPENDENCY(${libname} eigenpy)
48+
ENDIF(BUILD_PYTHON_INTERFACE)
49+
4650
PKG_CONFIG_USE_DEPENDENCY(${libname} sot-core)
4751
PKG_CONFIG_USE_DEPENDENCY(${libname} dynamic-graph)
4852

0 commit comments

Comments
 (0)