Skip to content

Handle FindEigen3 module's differing definitions#370

Merged
cottsay merged 1 commit intoros2from
eigen3_module
Jan 7, 2019
Merged

Handle FindEigen3 module's differing definitions#370
cottsay merged 1 commit intoros2from
eigen3_module

Conversation

@cottsay
Copy link
Copy Markdown
Member

@cottsay cottsay commented Dec 26, 2018

The FindEigen3.cmake CMake module sets EIGEN3_INCLUDE_DIR instead of EIGEN3_INCLUDE_DIRS. Ubuntu only includes the Eigen3Config.cmake config, while Fedora includes both files. CMake gives precedence to the module over the config, so the config never gets processed.

Alternatively, we could pass NO_MODULE to the find_package call, but this would fail on systems that ONLY have the module, though I'm not aware of any such distributions.

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@cottsay cottsay added the in progress Actively being worked on (Kanban column) label Dec 26, 2018
@cottsay cottsay self-assigned this Dec 27, 2018
The `FindEigen3.cmake` CMake module sets `EIGEN3_INCLUDE_DIR` instead of `EIGEN3_INCLUDE_DIRS`. Ubuntu only includes the `Eigen3Config.cmake` config, while Fedora includes both files. CMake gives precedence to the module over the config, so the config never gets processed.

Alternatively, we could pass `NO_MODULE` to the `find_package` call, but this would fail on systems that ONLY have the module, though I'm not aware of any such distributions.
@cottsay cottsay added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Dec 27, 2018
@cottsay cottsay merged commit 2077b3a into ros2 Jan 7, 2019
@cottsay cottsay removed the in review Waiting for review (Kanban column) label Jan 7, 2019
wjwwood added a commit that referenced this pull request Jan 14, 2019
wjwwood added a commit that referenced this pull request Jan 15, 2019
* Revert "Migrate scalar displays (#367)"

This reverts commit 9f3f3a6.

* Revert "Handle FindEigen3 module's differing definitions (#370)"

This reverts commit 2077b3a.

* Revert "Skip the system directories when looking for OGRE (#371)"

This reverts commit 61de77f.

* Revert "Revert "Visibility followup for marker" (#369)"

This reverts commit 712f903.
@cottsay cottsay deleted the eigen3_module branch July 31, 2019 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants