Skip to content

Honor CMAKE_PREFIX_PATH when resolving libint2/gauxc/libxc/gau2grid - #81

Merged
ryanmrichard merged 1 commit into
masterfrom
fix/find-preinstalled-deps
Aug 18, 2026
Merged

Honor CMAKE_PREFIX_PATH when resolving libint2/gauxc/libxc/gau2grid#81
ryanmrichard merged 1 commit into
masterfrom
fix/find-preinstalled-deps

Conversation

@ryanmrichard

Copy link
Copy Markdown
Member

find_package() for gauxc/libxc/gau2grid was scoped with NO_DEFAULT_PATH to only the active venv's site-packages, so a caller-supplied CMAKE_PREFIX_PATH pointing at a pre-installed copy was never consulted; libint2 had no find_package() attempt at all and always fetched from source. Add an unscoped find_package() first (honors CMAKE_PREFIX_PATH), falling back to the venv-scoped lookup and then FetchContent as before.

find_package() for gauxc/libxc/gau2grid was scoped with NO_DEFAULT_PATH to
only the active venv's site-packages, so a caller-supplied
CMAKE_PREFIX_PATH pointing at a pre-installed copy was never consulted;
libint2 had no find_package() attempt at all and always fetched from
source. Add an unscoped find_package() first (honors CMAKE_PREFIX_PATH),
falling back to the venv-scoped lookup and then FetchContent as before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ryanmrichard ryanmrichard self-assigned this Aug 18, 2026
@ryanmrichard
ryanmrichard merged commit 8c57087 into master Aug 18, 2026
8 checks passed
@ryanmrichard
ryanmrichard deleted the fix/find-preinstalled-deps branch August 18, 2026 20:25
@github-actions

Copy link
Copy Markdown

🚀 [bumpr] Bumped!
New version:v0.0.21
Changes:v0.0.20...v0.0.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.

2 participants