Skip to content
GitLab
Menu
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
ndcurves
Commits
3deec83a
Commit
3deec83a
authored
Oct 11, 2019
by
Pierre Fernbach
Browse files
Replace optional dependency to pinocchio to a compilation option (off by default)
parent
c9cdc923
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3deec83a
...
...
@@ -18,10 +18,11 @@ SET(CXX_DISABLE_WERROR True)
SETUP_HPP_PROJECT
()
ADD_REQUIRED_DEPENDENCY
(
eigen3
)
ADD_OPTIONAL_DEPENDENCY
(
pinocchio
)
IF
(
PINOCCHIO_FOUND
)
ADD_DEFINITIONS
(
-DCURVES_WITH_PINOCCHIO_SUPPORT
)
ENDIF
(
PINOCCHIO_FOUND
)
OPTION
(
CURVES_WITH_PINOCCHIO_SUPPORT
"Build with pinocchio support"
OFF
)
IF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
ADD_REQUIRED_DEPENDENCY
(
pinocchio
)
ENDIF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
SET
(
BOOST_COMPONENTS unit_test_framework serialization
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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