Skip to content

[cmake] handling of eigen5#398

Merged
evaleev merged 2 commits intomasterfrom
cmake-handling-of-eigen5
Feb 3, 2026
Merged

[cmake] handling of eigen5#398
evaleev merged 2 commits intomasterfrom
cmake-handling-of-eigen5

Conversation

@evaleev
Copy link
Owner

@evaleev evaleev commented Feb 3, 2026

followup on #395, Eigen5 differences go deeper than version extraction

Eigen version detection and C++ standard selection:

  • Updated FindEigen3.cmake to manually check the Eigen3 version and ignore the version reported by Eigen3Config if it is unreliable, ensuring accurate detection of Eigen3.5+.
  • Modified export/CMakeLists.txt.export to set the LIBINT2_CXX_STANDARD variable to 11 by default, and automatically switch to 14 if Eigen 3.5 or newer is found, with a status message for clarity.

@evaleev evaleev merged commit 964bae2 into master Feb 3, 2026
10 checks passed
@evaleev evaleev deleted the cmake-handling-of-eigen5 branch February 3, 2026 03:21
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