Skip to content

Conversation

@zachcran
Copy link
Contributor

@zachcran zachcran commented Jun 30, 2025

Is this pull request associated with an issue(s)?
No.

Description
CMaize defaults to using the provided identifier for cmaize_find*_dependency calls when calling find_package(). The name provided for Eigen here is eigen, but the installation is actually under directories named eigen3. The provided name has to be fairly exact for CMake to find the installed package. This PR fixes the name so that an existing Eigen installation is able to be found and used.

The Eigen installation references the eigen3 subdirectories starting here. The config search mode used in find_package() in CMaize is case insensitive, so I used Eigen3 to match the project name for Eigen (here).

TODOs

  • Does this work on Windows? I've only tested on Linux.

@zachcran zachcran self-assigned this Jun 30, 2025
@zachcran zachcran added the bug-fix Fixes a bug with a PR label Jun 30, 2025
@zachcran zachcran requested review from jlheflin and jwaldrop107 June 30, 2025 16:33
@zachcran zachcran marked this pull request as ready for review June 30, 2025 16:33
@zachcran zachcran enabled auto-merge June 30, 2025 16:39
Copy link
Contributor

@jlheflin jlheflin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zachcran zachcran merged commit e5842bc into master Jun 30, 2025
9 checks passed
@zachcran zachcran deleted the fix_find_eigen_installation branch June 30, 2025 16:40
@jwaldrop107
Copy link
Member

🚀 [bumpr] Bumped!
New version:v0.0.61
Changes:v0.0.60...v0.0.61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Fixes a bug with a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants