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

Handle FindEigen3 module's differing definitions #370

Merged
merged 1 commit into from
Jan 7, 2019
Merged

Conversation

cottsay
Copy link
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