Skip to content

Support building with Eigen3 5.0.0#558

Open
cho-m wants to merge 2 commits intostrasdat:mainfrom
cho-m:eigen-5.0.0
Open

Support building with Eigen3 5.0.0#558
cho-m wants to merge 2 commits intostrasdat:mainfrom
cho-m:eigen-5.0.0

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