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
ndcurves
Commits
8f65cc5e
Commit
8f65cc5e
authored
Nov 22, 2019
by
Guilhem Saurel
Browse files
[CMake] CURVES_WITH_PINOCCHIO_SUPPORT automaticaly computed, fix
#21
While here, add it to the .pc
parent
96243337
Pipeline
#6917
failed with stage
in 5 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8f65cc5e
...
...
@@ -19,12 +19,15 @@ CMAKE_POLICY(SET CMP0048 OLD)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
ADD_REQUIRED_DEPENDENCY
(
eigen3
)
OPTION
(
CURVES_WITH_PINOCCHIO_SUPPORT
"Build with pinocchio support"
OFF
)
ADD_OPTIONAL_DEPENDENCY
(
pinocchio
)
OPTION
(
CURVES_WITH_PINOCCHIO_SUPPORT
"Build with pinocchio support"
${
PINOCCHIO_FOUND
}
)
IF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
ADD_REQUIRED_DEPENDENCY
(
pinocchio
)
IF
(
NOT PINOCCHIO_FOUND
)
MESSAGE
(
FATAL_ERROR
"CURVES_WITH_PINOCCHIO_SUPPORT selected, but pinocchio has not been found"
)
ENDIF
(
NOT PINOCCHIO_FOUND
)
PKG_CONFIG_APPEND_CFLAGS
(
"-DCURVES_WITH_PINOCCHIO_SUPPORT"
)
ENDIF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
SET
(
BOOST_COMPONENTS unit_test_framework serialization
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python binding"
ON
)
...
...
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