← Back to issue list

leverage CMAKE_FIND_ROOT_PATH for build snaps in the cmake plugin

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1802326
Type
issue
State
closed
Author
~sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Implemented by merged PR #2399 as commit e2f7f38e6, making the CMake plugin search build-snap paths.

Resolution: closed resolved

Reason: The maintainer linked PR #2399 as the resolution. Commit e2f7f38e6, titled "cmake plugin: use build snaps to search paths," implements CMAKE_FIND_ROOT_PATH handling for build snaps.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If the part has a list of build-snaps listed, the part will be set up in such a way that the paths to those snaps are used as paths for find_package and find_library by use of `CMAKE_FIND_ROOT_PATH``.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Implemented by merged PR #2399 as commit e2f7f38e6, making the CMake plugin search build-snap paths.
stealth/space-bunny-alpha — closed resolved Implemented in canonical/snapcraft#2399 (commit e2f7f38e6), adding build-snap paths to CMAKE_FIND_ROOT_PATH in the CMake plugin.
stealth/space-bunny-alpha — closed resolved Implemented in PR #2399 (commit e2f7f38e6), updating the cmake plugin to use build-snap paths for CMake dependency searches.
qwen/qwen3.6-35b-a3b — — Closed without implementation or discussion. The proposed CMAKE_FIND_ROOT_PATH integration for build snaps in the cmake plugin was abandoned or superseded due to prolonged inactivity.
qwen/qwen3.6-35b-a3b — — Closed as abandoned. The proposed cmake plugin enhancement to automatically set CMAKE_FIND_ROOT_PATH for build-snaps received no discussion or implementation.
qwen/qwen3.6-35b-a3b — — Leveraging CMAKE_FIND_ROOT_PATH for build snaps in the cmake plugin was closed without implementation. Zero comments and prolonged inactivity indicate the feature request was abandoned.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposal to configure CMAKE_FIND_ROOT_PATH for build snaps in the cmake plugin was abandoned due to prolonged inactivity and zero discussion.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The feature request to auto-configure CMAKE_FIND_ROOT_PATH for build-snap paths in the cmake plugin was abandoned.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2399 (confidence 99%)

    The PR was cited by the maintainer and merged as commit e2f7f38e6.

Related issues

Issue Project State Summary Similarity
#2399 cmake plugin: use build snaps to search paths snapcraft merged Merged PR #2399 (commit e2f7f38e6): cmake plugin now derives search paths from build snaps, adding them to CMAKE_FIND_ROOT_PATH. Builds on #2397 native primitives.
82%