Skip to content

Use relative GNUInstallDirs install destinations#6

Merged
jglanz merged 2 commits into
masterfrom
fix/relative-install-destinations
Jul 13, 2026
Merged

Use relative GNUInstallDirs install destinations#6
jglanz merged 2 commits into
masterfrom
fix/relative-install-destinations

Conversation

@jglanz

@jglanz jglanz commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Absolute CMAKE_INSTALL_FULL_* destinations bake the configure-time prefix into install paths. wire-sysio's packaging (Wire-Network/wire-sysio#511: /usr-prefixed deb+rpm and a portable tarball) stages installs against a packaging prefix chosen at cpack time, which requires relative destinations — with a pristine appbase, /usr/local paths leak into the wire-sysio-dev packages, which the fedora install verification correctly rejects. Plain cmake --install behavior is unchanged: relative destinations resolve against CMAKE_INSTALL_PREFIX identically (verified by wire-sysio's install-manifest regression gate).

Also aligned with how appbase is actually built — as a wire-sysio component whose dependencies are assembled and statically linked through vcpkg (Boost 1.89, among others):

  • the stale standalone-only find_package(Boost 1.83 EXACT) is removed; the superproject defines the Boost::* targets before this directory is added, and a clear FATAL_ERROR guard remains for out-of-tree configures
  • the standalone build workflow is removed: a distro-boost CI leg is neither representative of the real build nor satisfiable, and appbase is compiled and tested by wire-sysio CI on every run

Companion to Wire-Network/wire-sysio#511; its verify-packages CI job stays red until this merges and the submodule gitlink bumps.

…andalone Boost lookup or CI

- install(): use relative GNUInstallDirs destinations so the superproject's
  packaging stages against its packaging prefix; absolute FULL_* paths baked
  the configure-time prefix into wire-sysio's dev packages, which the
  packaging verification correctly rejects
- drop the stale standalone-only find_package(Boost 1.83 EXACT): appbase
  consumes the Boost targets already defined by wire-sysio's vcpkg toolchain
  (statically linked, currently Boost 1.89); a clear FATAL_ERROR guard
  remains for out-of-tree configures
- remove the standalone build workflow: a distro-boost CI leg is neither
  representative of the real build nor satisfiable; appbase is compiled and
  tested by wire-sysio CI on every run
@jglanz jglanz force-pushed the fix/relative-install-destinations branch from 8f4de48 to 214de3c Compare July 13, 2026 14:01
@jglanz jglanz requested a review from heifner July 13, 2026 14:03
appbase builds as a wire-sysio component: Boost targets come statically from
the superproject's vcpkg toolchain (no standalone lookup), install rules use
relative GNUInstallDirs destinations for the superproject's packaging, and
there is no standalone CI workflow.
@jglanz jglanz merged commit 40bcefd into master Jul 13, 2026
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