Skip to content
Snippets Groups Projects
Commit 08df8a3f authored by Francois Keith's avatar Francois Keith
Browse files

Revert "Revert "Correct the Python_module handling""

This reverts commit 52c7440e.
parent 91efbb64
No related branches found
No related tags found
No related merge requests found
......@@ -58,13 +58,10 @@ FOREACH(lib ${libs})
INSTALL(TARGETS ${lib} DESTINATION lib/plugin)
# build python submodule
STRING(REPLACE - _ PYTHON_LIBRARY_NAME ${lib})
ADD_DEPENDENCIES(${lib} MKDIR_${PYTHON_LIBRARY_NAME})
ADD_CUSTOM_TARGET(MKDIR_${PYTHON_LIBRARY_NAME}
mkdir -p dynamic_graph/sot/dynamics/${PYTHON_LIBRARY_NAME}
)
DYNAMIC_GRAPH_PYTHON_MODULE("sot/dynamics/${PYTHON_LIBRARY_NAME}"
${lib}
sot/dynamics/${PYTHON_LIBRARY_NAME}/wrap
sot-dynamics-${PYTHON_LIBRARY_NAME}-wrap
)
ENDFOREACH(lib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment