Skip to content
GitLab
Menu
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
sot-torque-control
Commits
43dd1691
Commit
43dd1691
authored
Mar 12, 2021
by
Guilhem Saurel
Browse files
[CMake] drop pkg-config
parent
66f3464b
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
43dd1691
...
...
@@ -45,9 +45,9 @@ IF(INITIALIZE_WITH_NAN)
ENDIF
(
INITIALIZE_WITH_NAN
)
# Project dependencies
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
PKG_CONFIG_REQUIRES sot-core
)
ADD_PROJECT_DEPENDENCY
(
tsid REQUIRED
PKG_CONFIG_REQUIRES tsid
)
ADD_PROJECT_DEPENDENCY
(
ddp-actuator-solver REQUIRED
PKG_CONFIG_REQUIRES ddp-actuator-solver
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
tsid REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
ddp-actuator-solver REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
parametric-curves REQUIRED
)
ADD_REQUIRED_DEPENDENCY
(
"simple_humanoid_description"
)
...
...
@@ -59,8 +59,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
)
IF
(
Boost_VERSION GREATER 107299
)
# Silence a warning about a deprecated use of boost bind by boost python
...
...
@@ -125,7 +124,6 @@ IF(BUILD_PYTHON_INTERFACE)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
ADD_SUBDIRECTORY
(
tests
)
PKG_CONFIG_APPEND_LIBS
(
${
PROJECT_NAME
}
)
IF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
INSTALL
(
FILES package.xml DESTINATION share/
${
PROJECT_NAME
}
)
ENDIF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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