Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-dynamic-pinocchio
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
sot-dynamic-pinocchio
Commits
1c86bfe6
Commit
1c86bfe6
authored
4 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] drop pkg-config
parent
9bc47289
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-6
2 additions, 6 deletions
CMakeLists.txt
with
2 additions
and
6 deletions
CMakeLists.txt
+
2
−
6
View file @
1c86bfe6
...
...
@@ -7,7 +7,6 @@ SET(PROJECT_ORG stack-of-tasks)
SET
(
PROJECT_NAME sot-dynamic-pinocchio
)
SET
(
PROJECT_DESCRIPTION
"pinocchio bindings for dynamic-graph."
)
SET
(
PROJECT_URL
"https://github.com/
${
PROJECT_ORG
}
/
${
PROJECT_NAME
}
"
)
SET
(
PROJECT_SUFFIX
"-v3"
)
# Project options
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
ON
)
...
...
@@ -33,7 +32,7 @@ COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT
(
${
PROJECT_NAME
}
${
PROJECT_ARGS
}
)
# Project dependencies
ADD_PROJECT_DEPENDENCY
(
sot-tools REQUIRED
PKG_CONFIG_REQUIRES sot-tools
)
ADD_PROJECT_DEPENDENCY
(
sot-tools REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
example-robot-data
)
IF
(
BUILD_TESTING
)
...
...
@@ -44,8 +43,7 @@ IF(BUILD_PYTHON_INTERFACE)
FINDPYTHON
()
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
STRING
(
REGEX REPLACE
"-"
"_"
PYTHON_DIR
${
CUSTOM_HEADER_DIR
}
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
PKG_CONFIG_REQUIRES dynamic-graph-python
)
ADD_PROJECT_DEPENDENCY
(
dynamic-graph-python 4.0.0 REQUIRED
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
# Main Library
...
...
@@ -83,5 +81,3 @@ ADD_SUBDIRECTORY(src)
IF
(
BUILD_TESTING
)
ADD_SUBDIRECTORY
(
tests
)
ENDIF
(
BUILD_TESTING
)
PKG_CONFIG_APPEND_LIBS
(
${
PROJECT_NAME
}
)
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