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
8c3c7988
Unverified
Commit
8c3c7988
authored
Apr 01, 2021
by
Guilhem Saurel
Committed by
GitHub
Apr 01, 2021
Browse files
Merge pull request #61 from mmurooka/cmake-pinocchio-boost
Update CMakeLists.txt for pinocchio and Boost::serialization
parents
4441d0df
772c4279
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8c3c7988
...
...
@@ -29,7 +29,7 @@ CHECK_MINIMAL_CXX_STANDARD(11 ENFORCE)
# Project dependencies
ADD_PROJECT_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3
)
ADD_PROJECT_DEPENDENCY
(
pinocchio
)
ADD_PROJECT_DEPENDENCY
(
pinocchio
QUIET
)
OPTION
(
CURVES_WITH_PINOCCHIO_SUPPORT
"Build with pinocchio support"
${
pinocchio_FOUND
}
)
IF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
IF
(
NOT pinocchio_FOUND
)
...
...
python/ndcurves/CMakeLists.txt
View file @
8c3c7988
...
...
@@ -13,6 +13,7 @@ ADD_LIBRARY(${wrap} SHARED ${${PROJECT_NAME}_WRAP_SOURCES})
SET_TARGET_PROPERTIES
(
${
wrap
}
PROPERTIES OUTPUT_NAME
${
PROJECT_NAME
}
PREFIX
""
)
TARGET_COMPILE_OPTIONS
(
${
wrap
}
PRIVATE
"-Wno-conversion"
)
TARGET_LINK_LIBRARIES
(
${
wrap
}
eigenpy::eigenpy
)
TARGET_LINK_LIBRARIES
(
${
wrap
}
Boost::serialization
)
IF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
TARGET_LINK_LIBRARIES
(
${
wrap
}
pinocchio::pinocchio
)
ENDIF
(
CURVES_WITH_PINOCCHIO_SUPPORT
)
...
...
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