CMAKE_PREFIX_PATH is not set with gnome extenstion
Metadata
Current evaluation
Fixed by merged PR snapcraft#5589 (d30f563a7), correcting the GNOME extension’s CMAKE_PREFIX_PATH to include /usr; initial support was added in #5461 (a3f33196f).
Resolution: closed resolved
Reason: The issue was resolved by merged PR #5589, commit d30f563a7, which corrected the GNOME extension’s CMake prefix path. PR #5461, commit a3f33196f, had initially added CMAKE_PREFIX_PATH support.
Evaluated by: mr-cal-bot
No scores available.
Issue body
I'm trying to migrate my snap from snapcraft-desktop-helpers to the gnome extension but cmake is unable to find libraries located in the sdk with find_library calls. pkg_check_modules works but I can't change cmake rules of all libraries I use. I believe that's because snapcraft sets PKG_CONFIG_PATH but not CMAKE_PREFIX_PATH.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR snapcraft#5589 (d30f563a7), correcting the GNOME extension’s CMAKE_PREFIX_PATH to include /usr; initial support was added in #5461 (a3f33196f). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #5589 (d30f563a7), which corrected the GNOME extension’s CMake prefix path to include usr, following the initial support added by PR #5461 (a3f33196f). | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The gnome extension does not set CMAKE_PREFIX_PATH, causing cmake find_library failures. Users must manually configure the path or use pkg_check_modules. | |
| qwen/qwen3.6-35b-a3b | — | — | Requesting CMAKE_PREFIX_PATH to be set for the gnome extension was closed without resolution. With zero comments and no implementation, the feature request was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Missing CMAKE_PREFIX_PATH configuration with the gnome extension was closed without comments or resolution, indicating abandonment. No fix was implemented or merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | CMAKE_PREFIX_PATH remains unset with the gnome extension. The report was closed without comments or resolution, indicating abandonment without a fix. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#5589
(confidence 100%)
Merged fix correcting the GNOME extension’s CMAKE_PREFIX_PATH.
-
Related To:
snapcraft#5461
(confidence 95%)
Initial change that added CMAKE_PREFIX_PATH support to the GNOME extension.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5272 CMAKE_PREFIX_PATH is not set with gnome extenstion | snapcraft | closed | GNOME/KDE extension CMAKE_PREFIX_PATH handling was corrected by merged PR #5589 (d30f563a7), adding stage and SDK usr prefixes; released in Snapcraft 8.10.1. | |
| #5589 fix(gnome): update cmake prefix path | snapcraft | merged | Merged PR #5589 (commit d30f563a7) fixed the GNOME extension's CMAKE_PREFIX_PATH to point at $CRAFT_STAGE/usr and the SDK snap's usr dir, a follow-up to #5272; released in snapcraft 8.10.1. | |
| #5461 feat(gnome): add cmake prefix path | snapcraft | merged | Merged PR #5461 (commit a3f33196f) added CMAKE_PREFIX_PATH=$CRAFT_STAGE/usr to the GNOME extension build environment, fixing #5272. Follow-up #5589 (d30f563a7) added the SDK usr prefix; shipped in snapcraft 8.10.1. |