Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge devel branch in master and release iDynTree 2.0.0 #780

Merged
merged 124 commits into from
Nov 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
48e9180
Bump CMake version to 1.99
traversaro Jun 11, 2020
aa1d8a2
Remove IDYNTREE_USES_KDL option
traversaro Jun 11, 2020
87788eb
[bindings] Add the updated bindings
traversaro Jun 12, 2020
97fbdc6
Merge pull request #697 from robotology/remove_deprecated_kdl
traversaro Jun 15, 2020
52a79d1
Merge branch 'master' into devel
traversaro Jun 15, 2020
7e39fc3
Migrate to always use the Eigen3::Eigen imported target
traversaro Jun 15, 2020
0530e4f
Update CMakeLists.txt
traversaro Jun 15, 2020
5641818
Update iDynTreeOptions.cmake
traversaro Jun 16, 2020
e937be6
Backport PRIVATE_DEPENDENCIES fix for install_basic_package_files
traversaro Jun 16, 2020
eef90db
Merge pull request #699 from robotology/fix/eigen3
traversaro Jun 16, 2020
1fc6210
Add CMake option to disable tools compilation
traversaro Jun 16, 2020
56e256e
Merge pull request #700 from robotology/option/tools
traversaro Jun 16, 2020
01cdb46
Set CMAKE_POSITION_INDEPENDENT_CODE to TRUE as a CMake option
traversaro Jun 16, 2020
ae2c02f
Merge pull request #701 from robotology/make-pic-optional
traversaro Jun 16, 2020
f24b97d
Remove semantics check classes and related methods
traversaro Jun 25, 2020
2aac356
Regenerate MATLAB bindings
traversaro Jun 25, 2020
441e3ca
Merge pull request #704 from robotology/removeSemantics
traversaro Jun 26, 2020
c29e23f
Implement KinDynComputations::getCentroidalTotalMomentumJacobian() me…
GiulioRomualdi Jun 29, 2020
2e4eda0
Add again deprecated headers
traversaro Jun 29, 2020
bfa29b6
Merge pull request #708 from robotology/add_deprecated_headers
traversaro Jun 29, 2020
3a7603a
Add support to compile iDynTree as a shared library on Windows
traversaro Jul 2, 2020
03a6674
Merge pull request #711 from robotology/supportSharedLibOnWindows
traversaro Jul 3, 2020
57b185a
Avoid to use the old GenerateExportHeader included with VTK 6 (#715)
traversaro Jul 8, 2020
fd9fffc
Merge branch 'master' into devel
traversaro Jul 8, 2020
8fdbd45
Bump minimum required CMake version to 3.12
traversaro Jul 16, 2020
1c3e7a2
removed unnecessary warning messages
gabrielenava Jul 16, 2020
4411c24
Update CHANGELOG.md
gabrielenava Jul 31, 2020
74a068c
Update CHANGELOG.md
gabrielenava Jul 31, 2020
a0439d5
Update CHANGELOG.md
gabrielenava Jul 31, 2020
ec2eb13
Merge pull request #718 from gabrielenava/removedUnnecessaryWarnings
traversaro Jul 31, 2020
38ca326
bug-fix: JointIndex validity check
elandini84 Aug 5, 2020
b0100ef
Update CHANGELOG.md
elandini84 Aug 5, 2020
897291b
Merge pull request #719 from elandini84/fix_segfault_yarprobotstatepu…
traversaro Aug 5, 2020
b989d73
Update CHANGELOG.md
elandini84 Aug 5, 2020
a14592a
Merge pull request #720 from elandini84/patch-1
traversaro Aug 5, 2020
443b5a6
Change the logic used to update the Coefficients in the CubicSpline c…
GiulioRomualdi Aug 14, 2020
582b942
Merge branch 'master' into devel
traversaro Aug 30, 2020
3129a10
Vendor numpy.i
diegoferigo Aug 26, 2020
ff8b936
Update Python bindings CMakeLists.txt
diegoferigo Aug 29, 2020
9643038
Enhance conversion iDynTree <--> Python
diegoferigo Aug 27, 2020
fdd9eb0
feature: SHALLOW vs DEEP transform tree
elandini84 Aug 31, 2020
6e407bc
Updated Python bindings test files
francesco-romano Sep 13, 2018
980565e
Update helpers.py
diegoferigo Aug 27, 2020
9729a3b
Find and link Python bindings against NumPy target
diegoferigo Aug 30, 2020
f205612
Fix CMake variable in Python bindings tests
diegoferigo Aug 30, 2020
f9844b7
Remove IDYNTREE_USES_PYTHON_VERSION cached CMake variable
diegoferigo Aug 30, 2020
3dd823b
Install python3-numpy in Ubuntu CI
diegoferigo Aug 30, 2020
4c1ec4e
Update dyncomp.py test
diegoferigo Sep 1, 2020
0ad3c61
Update changelog
diegoferigo Sep 1, 2020
b4d8964
Merge pull request #726 from diegoferigo/feature/numpy
traversaro Sep 1, 2020
0f14e1a
Merge pull request #717 from robotology/bump-min-req-cmake
traversaro Sep 1, 2020
166f8e2
Bump minimum required version of CMake to 3.16 and update CMake SWIG …
diegoferigo Sep 9, 2020
3f077f4
Add PyPI packaging support
diegoferigo Sep 9, 2020
886eb05
Add setup.py and pyproject.toml
diegoferigo Sep 9, 2020
2c606c8
Add Python workflow
diegoferigo Sep 9, 2020
5b7ce15
Reduce dependencies
diegoferigo Sep 9, 2020
cf9b6be
Ensure a reproducible package regardless of found dependencies
diegoferigo Sep 9, 2020
6f4cb69
Install Python SWIG bindings in a python subfolder
diegoferigo Sep 9, 2020
c67a3b0
Update tests
diegoferigo Sep 9, 2020
fa336b2
Remove implicit CMAKE_INSTALL_PREFIX from INSTALL_INTERFACE include path
diegoferigo Sep 9, 2020
080859c
Update changelog
diegoferigo Sep 9, 2020
873ceca
Merge pull request #733 from diegoferigo/feature/pypi
traversaro Sep 10, 2020
5b2b487
Implement the MatrixView class (#734)
GiulioRomualdi Sep 10, 2020
5506ff8
Update name of SWIG bindings module from iDynTree to bindings
diegoferigo Sep 10, 2020
2f826c8
Update Python tests with new import name
diegoferigo Sep 10, 2020
94481a6
Update changelog
diegoferigo Sep 11, 2020
e141d6b
Update Python workflow
diegoferigo Sep 10, 2020
a04fe2b
Merge pull request #735 from diegoferigo/feature/python_import
traversaro Sep 11, 2020
10883e2
Use MatrixView and Span in KinDynComputations class (#736)
GiulioRomualdi Sep 15, 2020
f62e1f9
[MatrixView] Use an already existing enum to describe the Storage Ord…
GiulioRomualdi Sep 17, 2020
16d4c0d
Merge pull request #740 from GiulioRomualdi/fix/use_existing_storage_…
traversaro Sep 17, 2020
c268082
Merge pull request #724 from elandini84/feature_deepVsShallowLinksTree
traversaro Sep 17, 2020
c41ec8a
Merge branch 'master' into devel
traversaro Oct 2, 2020
a8e7e85
Refactor CMake project for Matlab bindings
diegoferigo Oct 9, 2020
d8808b0
Merge pull request #746 from diegoferigo/refactor/matlab_bindings
traversaro Oct 9, 2020
ebd1765
Create pybind11 Python bindings for idyntree-core.
francesco-romano Sep 30, 2020
c8977f1
Add error utility functions.
francesco-romano Oct 1, 2020
f012ebd
Create pybind11 Python bindings for idyntree-model.
francesco-romano Oct 1, 2020
3ffde97
Create pybind11 Python bindings for idyntree-sensors.
francesco-romano Oct 1, 2020
7a87df9
Create pybind11 Python bindings for idyntree-modelio-urdf.
francesco-romano Oct 1, 2020
3ac01bc
Updated CHANGELOG and README
francesco-romano Oct 2, 2020
21a56c3
Added install (with RPATH support).
francesco-romano Oct 2, 2020
61d79a2
Enable installation of SWIG and pybind11 bindings.
francesco-romano Oct 12, 2020
9b28285
Merge pull request #741 from francesco-romano/bindings/python/pybind11
traversaro Oct 19, 2020
982776a
Update iDynTree.i removing old headers
traversaro Oct 26, 2020
0066d2a
Remove functionalities deprecated in iDynTree 1
traversaro Oct 16, 2020
6ea89ba
Do not deprecate or remove ExtWrenchesAndJointTorquesEstimator::loadM…
traversaro Oct 26, 2020
969c466
Regenerate MATLAB bindings
traversaro Oct 26, 2020
bea7ae0
Merge pull request #751 from robotology/remove-deprecations
traversaro Oct 27, 2020
cfb065c
Fix typo in deprecation message
S-Dafarra Oct 28, 2020
37e00a2
Merge pull request #754 from robotology/S-Dafarra-patch-1
traversaro Oct 28, 2020
4e72a25
Fix visualization compilation
S-Dafarra Oct 28, 2020
2dc5bfe
Merge branch 'master' into devel
traversaro Oct 28, 2020
ec6554e
Merge pull request #755 from S-Dafarra/fixVisualizationCompilation
traversaro Oct 28, 2020
a97aa84
Bugfix in Span class (#749)
GiulioRomualdi Oct 28, 2020
dd85bfd
Fix broken Matlab Visualization #761
Giulero Nov 13, 2020
8d9d53d
Merge pull request #762 from Giulero/devel
traversaro Nov 13, 2020
74f5211
Fix other matlab visualization related issues after removing deprecat…
S-Dafarra Nov 16, 2020
3cb5e6d
Merge pull request #763 from S-Dafarra/otherVisualizationFixes
traversaro Nov 16, 2020
675144c
Merge branch 'master' into devel
traversaro Nov 17, 2020
2b9e971
Refresh docs in view of iDynTree 2 release (#765)
traversaro Nov 17, 2020
7e3b33f
Cleanup Eigen example to make use of the new Span and MatrixView inte…
traversaro Nov 18, 2020
8d6396d
Python bindings: expand typemaps to cover use of std::size_t and std:…
traversaro Nov 18, 2020
5e21a24
Cleanup data types used for indeces and sizes
traversaro Nov 18, 2020
80b31d0
[bindings] update matlab bindings
traversaro Nov 18, 2020
bab0865
Merge pull request #767 from robotology/cleanupSizeAndIndeces
traversaro Nov 18, 2020
7c39f34
Deprecate some functions instead of removing them
traversaro Nov 18, 2020
34fd955
Merge pull request #770 from robotology/fix/api/break
traversaro Nov 18, 2020
b046abc
Simplify setup.py by depending on cmake-build-extension
diegoferigo Nov 19, 2020
ac3acb8
Add the build dependencies also to setup.py
diegoferigo Nov 19, 2020
24562a1
Only find Development.Module with FindPython3
diegoferigo Nov 19, 2020
f0f8f9d
Do not link against libpython
diegoferigo Nov 19, 2020
46369cf
Update Python workflow to create and publish wheels
diegoferigo Nov 19, 2020
b72e735
Fix finding python on old versions of CMake
diegoferigo Nov 20, 2020
926633f
Test the wheel in the CentOS container
diegoferigo Nov 20, 2020
80bca10
Merge pull request #774 from diegoferigo/feature/wheels
traversaro Nov 20, 2020
4eccf5f
Prevent CentOS to install libraries into lib64, force instead lib
diegoferigo Nov 20, 2020
9185be1
Merge pull request #775 from diegoferigo/fix/lib_dir_wheel
traversaro Nov 20, 2020
d66eaad
Upload only linux_x86_64 wheels instead of manylinux2014
diegoferigo Nov 20, 2020
8c0d899
Do not use CentOS for building linux wheels
diegoferigo Nov 21, 2020
4084859
Upload artifacts also on forks
diegoferigo Nov 21, 2020
32ee6f6
Merge pull request #777 from diegoferigo/fix/upload_only_linux_x86_64…
traversaro Nov 22, 2020
d9d8968
Merge branch 'master' into devel
traversaro Nov 22, 2020
324677d
Bump iDynTree version to 2.0.0 (#778)
traversaro Nov 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,16 @@ jobs:
- name: Dependencies [macOS]
if: matrix.os == 'macOS-latest'
run: |
brew install ace assimp boost eigen ipopt swig qt5 orocos-kdl
brew install ace assimp boost eigen ipopt swig qt5

- name: Dependencies [Ubuntu]
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install git build-essential cmake libace-dev coinor-libipopt-dev libboost-system-dev libboost-filesystem-dev \
libboost-thread-dev liborocos-kdl-dev libeigen3-dev swig qtbase5-dev qtdeclarative5-dev qtmultimedia5-dev libqt5charts5-dev \
libxml2-dev liburdfdom-dev libtinyxml-dev liburdfdom-dev liboctave-dev python-dev valgrind libassimp-dev
sudo apt-get install \
git build-essential cmake libace-dev coinor-libipopt-dev libeigen3-dev swig \
qtbase5-dev qtdeclarative5-dev qtmultimedia5-dev libqt5charts5-dev \
libxml2-dev liboctave-dev python-dev python3-numpy valgrind libassimp-dev

- name: Cache Source-based Dependencies
id: cache-source-deps
Expand Down Expand Up @@ -173,11 +174,12 @@ jobs:
-DIDYNTREE_USES_ICUB_MAIN:BOOL=ON -DIDYNTREE_USES_Qt5:BOOL=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DIDYNTREE_USES_ASSIMP:BOOL=ON \
-DIDYNTREE_USES_IPOPT:BOOL=ON -DIDYNTREE_USES_OCTAVE:BOOL=ON -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/install ..

- name: Enable additional Ubuntu options (Valgrind, Python, legacy KDL) [Ubuntu]
- name: Enable additional Ubuntu options (Valgrind, Python) [Ubuntu]
if: contains(matrix.os, 'ubuntu')
run: |
cd build
cmake -DIDYNTREE_USES_PYTHON:BOOL=ON -DIDYNTREE_RUN_VALGRIND_TESTS:BOOL=ON -DIDYNTREE_USES_KDL:BOOL=ON .
# Assimp is disabled on Ubuntu as a workaround for https://github.com/robotology/idyntree/issues/663
cmake -DIDYNTREE_USES_PYTHON:BOOL=ON -DIDYNTREE_RUN_VALGRIND_TESTS:BOOL=ON .
# For some reason, Ubuntu 18.04 image in GitHub Actions contain OpenBLAS 0.3.5, that is affected by https://github.com/xianyi/OpenBLAS/issues/2003
# As a workaround, we test against the regular blas instead of openblas
sudo apt-get install libblas-dev libatlas-base-dev
Expand Down
126 changes: 126 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
name: Python CI/CD

on:
push:
pull_request:
release:
types:
- published

jobs:

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8

steps:

- uses: actions/checkout@master
- run: git fetch --prune --unshallow

- name: Install Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install sdist dependencies
run: pip install setuptools_scm cmake_build_extension

- name: Build sdist
run: python setup.py sdist

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
coinor-libipopt-dev \
libeigen3-dev swig \
libxml2-dev \
libassimp-dev

- name: Install sdist
run: pip -v install dist/*.tar.gz

- name: Test import
run: python -c 'import idyntree.bindings'

- uses: actions/upload-artifact@v2
with:
path: dist/*.tar.gz

build_linux_wheels:

name: Build wheels on ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version:
- 3.8
# - 3.9

steps:

- uses: actions/checkout@master
- run: git fetch --prune --unshallow

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential \
coinor-libipopt-dev \
libeigen3-dev swig \
libxml2-dev \
libassimp-dev

- name: '[Linux] Build wheel'
run: pip wheel -w wheelhouse .

- name: Remove other wheels
run: find wheelhouse/ -type f -not -name 'idyntree-*' -delete

# Rename the wheel to manylinux2014 (even if it is not) so that it can be uploaded to PyPI
- name: Rename wheels
run: |
ls wheelhouse/
find wheelhouse/ -type f -name "*.whl" -exec rename.ul linux manylinux2014 {} +
ls wheelhouse/

- uses: actions/upload-artifact@v2
with:
path: ./wheelhouse/*.whl

upload_pypi:
needs:
- build_sdist
- build_linux_wheels
runs-on: ubuntu-latest
# Devel branch produces pre-releases
# Master branch produces stable releases linked to GitHub releases
if: |
github.repository == 'robotology/idyntree' &&
((github.event_name == 'release' && github.event.action == 'published') ||
(github.event_name == 'push' && github.ref == 'refs/heads/devel'))

steps:

- uses: actions/download-artifact@v2
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2020-11-22

### Added
- Added a new CMake option `IDYNTREE_COMPILES_TOOLS` to disable compilation of iDynTree tools.
- Added a `KinDynComputations::getCentroidalTotalMomentumJacobian()` method (https://github.com/robotology/idyntree/pull/706)
- iDynTree now supports build compiled as a shared library also on Windows.
- When used in Python, new iDynTree objects can be constructed from generic iterable objects and NumPy arrays (`*.FromPython`),
and existing objects can be converted to NumPy arrays (`*.toNumPy`) (https://github.com/robotology/idyntree/pull/726).
- iDynTree Python bindings can now be installed with `pip3 install git+https://github.com/robotology/idyntree.git` (https://github.com/robotology/idyntree/pull/733).
- Implement the MatrixView class (https://github.com/robotology/idyntree/pull/734)
- Add the possibility to use `MatrixView` and `Span` as input/output objects for `KinDynComputations` class (https://github.com/robotology/idyntree/pull/736).
- New Python bindings based on [pybind11](https://github.com/pybind/pybind11).
They can be compiled by specifying the CMake option `IDYNTREE_USES_PYTHON_PYBIND11`. **Note** that the generated bindings are not
compatible with the SWIG-generated bindings (e.g. functions have different names). They can be imported as `idyntree.pybind` Python module.

### Fixed
- Fixed bug in `yarprobotstatepublisher` that caused segmentation fault each time an unknown joint name was read from the input joint states topic (https://github.com/robotology/idyntree/pull/719)
- Fixed bug in `CubicSpline()` that causes wrong coefficients calculation when boundary conditions are set (https://github.com/robotology/idyntree/pull/723)

### Changed
- By default iDynTree is compiled as a shared library also on Windows. The `BUILD_SHARED_LIBS` CMake variable can be used to
control if iDynTree is built as a shared or a static library.
- The Python method `*.fromPyList` is replaced by `*.FromPython` (https://github.com/robotology/idyntree/pull/726).
- The minimum required CMake version to configure and compile iDynTree is now 3.16 (https://github.com/robotology/idyntree/pull/732).
- The Python package name of the SWIG bindings changed from `iDynTree` to `idyntree.bindings` (https://github.com/robotology/idyntree/pull/733, https://github.com/robotology/idyntree/pull/735). To continue referring to iDynTree classes as `iDynTree.<ClassName>`, you can change your `import iDynTree` statements to `import idyntree.bindings as iDynTree`. Otherwise, you can use `import idyntree.bindings` to refer them as `idyntree.bindings.<ClassName>`.
- Improve the use of `const` keyword in `KinDynComputations`(https://github.com/robotology/idyntree/pull/736).
- Cleanup size and indices attributes. For consistency with std and Eigen, all sizes and indices have been changed to use std::size_t for unsigned quantities and std::ptrdiff_t for signed quantities. The only exception is the index stored in the triplets of the iDynTree::SparseMatrix data structure, that have been left defined to int for compatibility with Eigen (https://github.com/robotology/idyntree/pull/767).

### Removed
- Remove the CMake option IDYNTREE_USES_KDL and all the classes available when enabling it. They were deprecated in iDynTree 1.0 .
- Remove the semantics related classes. They were deprecated in iDynTree 1.0 .
- Remove unnecessary warning messages from [ModelSensorsTransformers.cpp](https://github.com/robotology/idyntree/blob/master/src/sensors/src/ModelSensorsTransformers.cpp) and [URDFDocument.cpp](https://github.com/robotology/idyntree/blob/master/src/model_io/urdf/src/URDFDocument.cpp) (see [PR 718](https://github.com/robotology/idyntree/pull/718))
- Python2 will not be maintained past 2020 and its support has been dropped (https://github.com/robotology/idyntree/pull/726).
- Remove the need to call `iDynTree.init_helpers()` and `iDynTree.init_numpy_helpers()` from Python (https://github.com/robotology/idyntree/pull/726).
- Remove headers and methods that were deprecated in iDynTree 1.0 (https://github.com/robotology/idyntree/pull/751).

## [1.2.0] - 2020-10-17

### Added
- Added the possibility of reusing an already opened figure with the MATLAB iDynTree Visualizer either if the name coincides or by using gcf.


### Changed
- `SolidShapes.h` public API **changes**. API changes are back compatible, but as the **ABI has changed**, this means a re-compilation of the dependent projects is needed. In details:
- Added getters and setters to all classes in `SolidShapes.h` (`idyntree-model`). Public attributes are still available for compatibility but are now **deprecated** and will be removed in the next major release of iDynTree (2.x).
Expand Down
20 changes: 11 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
# https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
# at your option.

cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.16)

project(iDynTree VERSION 1.2.0
project(iDynTree VERSION 2.0.0
LANGUAGES C CXX)

# Disable in source build, unless Eclipse is used
Expand Down Expand Up @@ -43,11 +43,16 @@ if(NOT IDYNTREE_ONLY_DOCS)
# anything) feel free to check the logic inside
add_subdirectory(extern)

# Create the absolute paths for the BIN DIRS.
foreach(item ${IDYNTREE_BINARY_DIRS})
list(APPEND ABSOLUTE_BIN_DIRS "${CMAKE_INSTALL_PREFIX}/${item}")
endforeach()

include(AddInstallRPATHSupport)
add_install_rpath_support(BIN_DIRS "${CMAKE_INSTALL_PREFIX}/bin"
LIB_DIRS "${CMAKE_INSTALL_PREFIX}/lib"
DEPENDS IDYNTREE_ENABLE_RPATH
USE_LINK_PATH)
add_install_rpath_support(BIN_DIRS ${ABSOLUTE_BIN_DIRS}
LIB_DIRS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
DEPENDS IDYNTREE_ENABLE_RPATH
USE_LINK_PATH)

# add the actual components of the library
add_subdirectory(src)
Expand All @@ -60,9 +65,6 @@ if(NOT IDYNTREE_ONLY_DOCS)
if(IDYNTREE_USES_ICUB_MAIN)
list(APPEND _IDYNTREE_EXPORTED_DEPENDENCIES ICUB)
endif()
if(IDYNTREE_USES_KDL)
list(APPEND _IDYNTREE_EXPORTED_DEPENDENCIES orocos_kdl)
endif()

# List exported CMake package dependencies when the library is compiled as static
set(_IDYNTREE_EXPORTED_DEPENDENCIES_ONLY_STATIC "")
Expand Down
Loading