← Back to issue list

CMake plugin: Support installing via prefix.

View original Github issue

Metadata

Project
snapcraft
Number
#346
Type
pull request
State
closed
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Closed without merging. The author realized the changes were applied to the wrong plugin and determined CMake did not require them. The pull request was abandoned, though a later comment notes the underlying installation issue persists.

Suggested action:

No scores available.

Issue body

Currenty the CMake plugin uses an empty CMAKE_INSTALL_PREFIX and installs into the install directory via utilizing DESTDIR. This PR resolves LP: [#1544630](https://bugs.launchpad.net/snapcraft/+bug/1544630) by adding the ability to install via actually using CMAKE_INSTALL_PREFIX. Also ups the CMake plugin coverage to 100%.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without merging. The author realized the changes were applied to the wrong plugin and determined CMake did not require them. The pull request was abandoned, though a later comment notes the underlying installation issue persists.
qwen3.6-35b-a3b-mtp-q6 Closed and abandoned. The author applied the patch to the wrong plugin and determined CMake does not need this change. The original issue remains unresolved.
qwen3.6-35b-a3b-mtp-q6 Closed and abandoned by the author after realizing the changes were applied to the wrong plugin and determining CMake did not require the modification. The underlying installation issue remains unresolved.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1544630 CMake plugin should support installing via prefix instead of DESTDIR snapcraft (launchpad) closed Closed without implementation, likely abandoned. The CMake plugin was never updated to support prefix-based installs via a configuration option.
85%
#1544629 Autotools plugin should support installing via prefix instead of DESTDIR snapcraft (launchpad) closed Closed without implementation. Lacking comments or resolution, the request to add prefix-based installation support to the autotools plugin was abandoned.
73%
#1770838 cmake plugin doesn't work properly snapcraft (launchpad) closed Reported a cmake plugin bug causing duplicate CMAKE_INSTALL_PREFIX flags. The issue was closed without comments or a documented fix, leaving the configuration duplication unaddressed.
71%