Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph-python
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
Guilhem Saurel
dynamic-graph-python
Commits
65fd0c43
Commit
65fd0c43
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] use ADD_PROJECT_DEPENDENCY
parent
6a1dbb3a
No related branches found
No related tags found
No related merge requests found
Pipeline
#8538
failed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+3
-7
3 additions, 7 deletions
CMakeLists.txt
cmake
+1
-1
1 addition, 1 deletion
cmake
with
4 additions
and
8 deletions
CMakeLists.txt
+
3
−
7
View file @
65fd0c43
# Copyright 2010-2020, Florent Lamiraux, Thomas Moulard, Olivier Stasse, Guilhem Saurel, JRL, CNRS/AIST, LAAS-CNRS
CMAKE_MINIMUM_REQUIRED
(
VERSION
2.8
)
CMAKE_MINIMUM_REQUIRED
(
VERSION
3.1
)
SET
(
PROJECT_NAMESPACE stack-of-tasks
)
SET
(
PROJECT_NAME dynamic-graph-python
)
...
...
@@ -31,12 +31,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
FINDPYTHON
()
INCLUDE_DIRECTORIES
(
SYSTEM
${
PYTHON_INCLUDE_DIRS
}
)
ADD_REQUIRED_DEPENDENCY
(
eigen3
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph 3.8.1 REQUIRED
)
# manually append to the .pc dependencies for now
# ref https://github.com/jrl-umi3218/jrl-cmakemodules/issues/320
_ADD_TO_LIST
(
_PKG_CONFIG_REQUIRES
"dynamic-graph >= 3.8.1"
","
)
ADD_PROJECT_DEPENDENCY
(
Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph REQUIRED PKG_CONFIG_REQUIRES dynamic-graph
)
PKG_CONFIG_APPEND_LIBS
(
"dynamic-graph-python"
)
...
...
This diff is collapsed.
Click to expand it.
cmake
@
4514454f
Compare
61344038
...
4514454f
Subproject commit
61344038b1352d5a8de1e20db710c83be805d2eb
Subproject commit
4514454f5f9462047b5c29f61b6c3e0db731c416
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