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
Guilhem Saurel
pinocchio
Commits
384ecb78
Commit
384ecb78
authored
Sep 27, 2016
by
jcarpent
Browse files
[CMake] Move Python wrapping dependencies to binding/python
parent
fc6de7ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
384ecb78
...
...
@@ -110,7 +110,6 @@ SET(BOOST_BUILD_COMPONENTS unit_test_framework)
SET
(
BOOST_OPTIONAL_COMPONENTS
""
)
IF
(
BUILD_PYTHON_INTERFACE
)
ADD_SEPARATE_DEPENDENCY
(
"eigenpy >= 1.3.1"
)
SET
(
BOOST_OPTIONAL_COMPONENTS
${
BOOST_OPTIONAL_COMPONENTS
}
python
)
FINDPYTHON
(
2.7 EXACT REQUIRED
)
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_DIRS
}
)
...
...
bindings/python/CMakeLists.txt
View file @
384ecb78
...
...
@@ -50,8 +50,13 @@ MACRO(SYMLINK_AND_INSTALL_HEADERS HEADERS SUBPATH)
ENDFOREACH
(
header
)
ENDMACRO
(
SYMLINK_AND_INSTALL_HEADERS HEADERS SUBPATH
)
# --- LIBRARY --- #
# --- DEPENDENCIES --- #
SET
(
PKG_CONFIG_PYWRAP_REQUIRES
"eigenpy >= 1.3.1"
)
FOREACH
(
dep
${
PKG_CONFIG_PYWRAP_REQUIRES
}
)
ADD_SEPARATE_DEPENDENCY
(
${
dep
}
)
ENDFOREACH
(
dep
${
PKG_CONFIG_PYWRAP_REQUIRES
}
)
# --- LIBRARY --- #
SET
(
${
PROJECT_NAME
}
_PYTHON_HEADERS
eigen_container.hpp
handler.hpp
...
...
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