Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
example-robot-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gepetto
example-robot-data
Commits
f36a9891
Commit
f36a9891
authored
2 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
modernize if available
parent
17046a1b
No related branches found
No related tags found
No related merge requests found
Pipeline
#20366
canceled
2 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-13
1 addition, 13 deletions
CMakeLists.txt
cmake
+1
-1
1 addition, 1 deletion
cmake
with
2 additions
and
14 deletions
CMakeLists.txt
+
1
−
13
View file @
f36a9891
...
...
@@ -32,19 +32,7 @@ COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT
(
${
PROJECT_NAME
}
${
PROJECT_ARGS
}
)
IF
(
BUILD_PYTHON_INTERFACE
)
set
(
PYTHON_COMPONENTS Interpreter
)
if
(
CMAKE_VERSION VERSION_LESS
"3.18"
)
# Development.Module only require headers, so it's best for our module
# But it's not available before CMake 3.18
set
(
PYTHON_COMPONENTS
${
PYTHON_COMPONENTS
}
Development
)
else
()
set
(
PYTHON_COMPONENTS
${
PYTHON_COMPONENTS
}
Development.Module
)
endif
()
if
(
NOT CMAKE_VERSION VERSION_LESS
"3.14"
)
# NumPy provides a standard CMake imported target,
# But it's not available before CMake 3.14
set
(
PYTHON_COMPONENTS
${
PYTHON_COMPONENTS
}
NumPy
)
endif
()
set
(
PYTHON_COMPONENTS Interpreter Development.Module NumPy
)
FINDPYTHON
()
ADD_PROJECT_DEPENDENCY
(
pinocchio
)
STRING
(
REGEX REPLACE
"-"
"_"
PY_NAME
${
PROJECT_NAME
}
)
...
...
This diff is collapsed.
Click to expand it.
cmake
@
9d6ba210
Compare
7c6837de
...
9d6ba210
Subproject commit
7c6837de72c724329c93a1d4f107767240d58727
Subproject commit
9d6ba210c26a330e7bfff9efea9e41c69beb7025
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment