Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-dynamic-pinocchio
Commits
343adfbe
Commit
343adfbe
authored
Sep 14, 2018
by
Olivier Stasse
Browse files
Fix CMakeLists.txt to compile properly
parent
6e292aff
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
343adfbe
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment