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
loco-3d
Multicontact-api
Commits
10ee6cc8
Commit
10ee6cc8
authored
Apr 01, 2020
by
Guilhem Saurel
Browse files
[CMake] check CURVES_WITH_PINOCCHIO_SUPPORT, fix #5
requires
https://github.com/loco-3d/curves/pull/37
parent
b31c9092
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
10ee6cc8
...
...
@@ -35,7 +35,10 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
# Project dependencies
ADD_PROJECT_DEPENDENCY
(
pinocchio REQUIRED PKG_CONFIG_REQUIRES
"pinocchio >= 2.0.0"
)
ADD_PROJECT_DEPENDENCY
(
curves REQUIRED PKG_CONFIG_REQUIRES
"curves >= 0.3"
)
ADD_PROJECT_DEPENDENCY
(
curves 0.4.1 REQUIRED PKG_CONFIG_REQUIRES
"curves >= 0.4.1"
)
IF
(
NOT CURVES_WITH_PINOCCHIO_SUPPORT
)
MESSAGE
(
FATAL_ERROR
"you need to use a curves version compiled with pinocchio support"
)
ENDIF
(
NOT CURVES_WITH_PINOCCHIO_SUPPORT
)
SET
(
BOOST_COMPONENTS unit_test_framework serialization
)
IF
(
BUILD_PYTHON_INTERFACE
)
...
...
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