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
loco-3d
sot-talos-balance
Commits
ce760cd2
Commit
ce760cd2
authored
Mar 12, 2021
by
Guilhem Saurel
Browse files
[CMake] drop pkg-config
parent
0fa8a8ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ce760cd2
# Copyright 2018, Gepetto team, LAAS-CNRS
# Copyright 2018,
2021,
Gepetto team, LAAS-CNRS
#
CMAKE_MINIMUM_REQUIRED
(
VERSION 3.1
)
...
...
@@ -49,12 +49,11 @@ IF(BUILD_PYTHON_INTERFACE)
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
STRING
(
REGEX REPLACE
"-"
"_"
PROJECT_NAME_UNDERSCORE
${
PROJECT_NAME
}
)
SET
(
PY_NAME
${
PROJECT_NAME_UNDERSCORE
}
)
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
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
PKG_CONFIG_REQUIRES sot-core
)
ADD_PROJECT_DEPENDENCY
(
eiquadprog REQUIRED
PKG_CONFIG_REQUIRES eiquadprog
)
ADD_PROJECT_DEPENDENCY
(
sot-core REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
eiquadprog REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
parametric-curves REQUIRED
)
# Verbosity level
...
...
@@ -107,7 +106,6 @@ IF(BUILD_TESTING)
ADD_SUBDIRECTORY
(
tests
)
ENDIF
(
BUILD_TESTING
)
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
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