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
Stack Of Tasks
dynamic-graph-python
Commits
65fd0c43
Commit
65fd0c43
authored
Feb 28, 2020
by
Guilhem Saurel
Browse files
[CMake] use ADD_PROJECT_DEPENDENCY
parent
6a1dbb3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
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"
)
...
...
cmake
@
4514454f
Compare
61344038
...
4514454f
Subproject commit
61344038b1352d5a8de1e20db710c83be805d2eb
Subproject commit
4514454f5f9462047b5c29f61b6c3e0db731c416
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