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
Guilhem Saurel
tsid
Commits
8ede2dcf
Commit
8ede2dcf
authored
Mar 11, 2021
by
Guilhem Saurel
Browse files
drop pkg-config
parent
d32d7f2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8ede2dcf
...
...
@@ -72,10 +72,8 @@ ENDIF(EIGEN_NO_AUTOMATIC_RESIZING)
CHECK_MINIMAL_CXX_STANDARD
(
11 ENFORCE
)
# Project dependencies
ADD_PROJECT_DEPENDENCY
(
pinocchio 2.3.1 REQUIRED
PKG_CONFIG_REQUIRES
"pinocchio >= 2.3.1"
)
ADD_PROJECT_DEPENDENCY
(
eiquadprog 1.1.3 REQUIRED
PKG_CONFIG_REQUIRES
"eiquadprog >= 1.1.3"
)
ADD_PROJECT_DEPENDENCY
(
pinocchio 2.3.1 REQUIRED
)
ADD_PROJECT_DEPENDENCY
(
eiquadprog 1.1.3 REQUIRED
)
IF
(
BUILD_TESTING
)
FIND_PACKAGE
(
Boost REQUIRED COMPONENTS unit_test_framework
)
...
...
@@ -84,7 +82,7 @@ ENDIF(BUILD_TESTING)
IF
(
BUILD_PYTHON_INTERFACE
)
FINDPYTHON
()
SET
(
PYWRAP
${
PROJECT_NAME
}
_pywrap
)
ADD_PROJECT_DEPENDENCY
(
eigenpy REQUIRED
PKG_CONFIG_REQUIRES eigenpy
)
ADD_PROJECT_DEPENDENCY
(
eigenpy REQUIRED
)
SEARCH_FOR_BOOST_PYTHON
(
REQUIRED
)
IF
(
Boost_VERSION GREATER 107299
)
...
...
@@ -282,7 +280,6 @@ IF(BUILD_TESTING)
ENDIF
(
BUILD_TESTING
)
# --- PACKAGING ----------------------------------------------------------------
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