Skip to content

Conversation

@cho-m
Copy link

@cho-m cho-m commented Nov 1, 2025

Original find_package usage cannot find Eigen3 >= 5.

Using a range can help as mentioned in https://libeigen.gitlab.io/eigen/docs-5.0/TopicCMakeGuide.html

find_package(Eigen3 3.4...5 REQUIRED NO_MODULE) # Any version >=3.4.1 but <6.0.0.

However, it still needs a fallback to find 3.4.0.


EDIT: An alternative could be to run find_package unversioned and follow up with a manual version check

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.

1 participant