Commit 343adfbe authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix CMakeLists.txt to compile properly

parent 6e292aff
......@@ -56,22 +56,15 @@ FOREACH(lib ${plugins})
DYNAMIC_GRAPH_PYTHON_MODULE("sot/dynamics_pinocchio/${PYTHON_LIBRARY_NAME}"
${libname}
sot-dynamic-pinocchio-${PYTHON_LIBRARY_NAME}-wrap
1
"src/python-module-py.cpp"
)
PKG_CONFIG_USE_DEPENDENCY(sot-dynamic-pinocchio-${PYTHON_LIBRARY_NAME}-wrap pinocchio)
ENDIF(BUILD_PYTHON_INTERFACE)
UNSET({libname})
ENDFOREACH(lib)
IF(BUILD_PYTHON_INTERFACE)
DYNAMIC_GRAPH_PYTHON_MODULE("sot/dynamics_pinocchio/dynamic"
""
dynamic-wrap-python
1
"src/python-module-py.cpp"
)
PKG_CONFIG_USE_DEPENDENCY(dynamic-wrap-python pinocchio)
ENDIF(BUILD_PYTHON_INTERFACE)
# Main Library
ADD_LIBRARY(${LIBRARY_NAME} SHARED sot-dynamic-pinocchio.cpp)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} pinocchio)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment